Getting Started with VIM as a Python Editor

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ค. 2024
  • Learn how to turn deep reinforcement learning papers into code:
    Get instant access to all my courses, including the new Prioritized Experience Replay course, with my subscription service. $29 a month gives you instant access to 42 hours of instructional content plus access to future updates, added monthly.
    Discounts available for Udemy students (enrolled longer than 30 days). Just send an email to sales@neuralnet.ai
    www.neuralnet.ai/courses
    Or, pickup my Udemy courses here:
    Deep Q Learning:
    www.udemy.com/course/deep-q-l...
    Actor Critic Methods:
    www.udemy.com/course/actor-cr...
    Curiosity Driven Deep Reinforcement Learning
    www.udemy.com/course/curiosit...
    Natural Language Processing from First Principles:
    www.udemy.com/course/natural-...
    Just getting started in deep reinforcement learning? Check out my intro level course through Manning Publications.
    Reinforcement Learning Fundamentals
    www.manning.com/livevideo/rei...
    Here are some books / courses I recommend (affiliate links):
    Grokking Deep Learning in Motion: bit.ly/3fXHy8W
    Grokking Deep Learning: bit.ly/3yJ14gT
    Grokking Deep Reinforcement Learning: bit.ly/2VNAXql
    Come hang out on Discord here:
    / discord
    Website: www.neuralnet.ai
    Github: github.com/philtabor
    Twitter: / mlwithphil

ความคิดเห็น • 35

  • @TonyGonzales
    @TonyGonzales 11 หลายเดือนก่อน +3

    Very helpful for those of us jumping into the deep end, better to learn something once.

  • @JousefM
    @JousefM 2 ปีที่แล้ว +8

    Long break Phil, glad to see you back in action. Hope you're doing great mate!

  • @mikhailkhlyzov6205
    @mikhailkhlyzov6205 2 ปีที่แล้ว +2

    I like Vim aswell exactly for the portability and minimalism reasons. I also happen to use Spyder for its ability to modify methods of existing python objects w/o the need to rerun all the code.

  • @patmower46
    @patmower46 ปีที่แล้ว

    Thanks....loved this. Still use sublime text at times, but usually VIM for EVERYTHING!

  • @esanchez8277
    @esanchez8277 ปีที่แล้ว

    Hey Phil, given your experience in the semiconductor space. Would you ever come back to the area with the chips act passing?

  • @first-thoughtgiver-of-will2456
    @first-thoughtgiver-of-will2456 2 ปีที่แล้ว +9

    Vscode has a pretty good remote extension that runs everything on the ssh machine and setups up a dot file on the external machine with extensions etc. All being offloaded to the remote machine. I like Vim too but wanted to make sure you knew about this.

    • @yskim69
      @yskim69 ปีที่แล้ว

      you saved my time. thanks

    • @bidossessi
      @bidossessi ปีที่แล้ว +3

      VSCode's remote extension will disconnect from your _LOCAL_ VM if you lose internet. That's a pretty frustrating experience, and the very reason why I'm even looking at this video right now. So yeah.

  • @zakariaabderrahmanesadelao3048
    @zakariaabderrahmanesadelao3048 ปีที่แล้ว

    hello Sir! just subbed, seems like you have got a lot of knowledge to share. We appreciate that.

  • @limitless1692
    @limitless1692 ปีที่แล้ว +2

    I use vim-plug as my Plugin manager, it is very light weight :)
    Cool video, and I learned something that I didn't know from your .vimrc
    Thank You for sharing :)

  • @py-zc1vv
    @py-zc1vv 3 หลายเดือนก่อน

    THANK you, SIRE. Just small quick question - How did you get the "SYNTAX HIGHLIGHTING" right out of the box, without ever doing anything? What am i missing here?

  • @PerEng2405
    @PerEng2405 ปีที่แล้ว

    To the point. Brilliant.

  • @muhammadahmadkhalid364
    @muhammadahmadkhalid364 ปีที่แล้ว

    Can you show us to install it on windows 10 and how to get the hovering box that shows the parameters of a function in Vim?

  • @FuZZbaLLbee
    @FuZZbaLLbee 2 ปีที่แล้ว +2

    Is there also a plug-in for navigating to the original function when you are at a line where free function is used
    Also does it have some file tree view
    Lastly I also need a good side by side visual comparison of the original file and the edited file.
    Working directly on the sever does indeed have its benefits

    • @RyanWAFFELYoung
      @RyanWAFFELYoung 2 ปีที่แล้ว +1

      movement in vim is kind of its key thing. probably the quickest would be just to put your cursor on the free function name and it "#" which treats it like a tag and will jump to the next match.
      there's a file tree built in to vim with the command :Vexplore. Although I think most people use the NERDtree plugin.
      In my .vimrc I have `:nnoremap ex :Vexplore:vertical resize 20:set winfixwidth` using a leader key(mine is comma) to quickly open the built in explorer. can also replace everything after "ex" to just ":NERDtree" to quickly open that instead. So just type ",ex" and the tree opens
      with vim installed you also get vimdiff. you run it from the commandline. "vimdiff file1.py file2.py"

  • @markadyash
    @markadyash 2 ปีที่แล้ว +4

    Hi its been long seeing you Phil
    if possible can you make frequent content on RL

  • @abbaraphael2930
    @abbaraphael2930 6 หลายเดือนก่อน

    Hey Phil, great explanations. Could you share the github links you used.

  • @aelinwhitehorn3526
    @aelinwhitehorn3526 ปีที่แล้ว

    the line numbers did not show up and the code is correct?

  • @qrockz007
    @qrockz007 ปีที่แล้ว +1

    what's your workflow executing python code? Do you use ipython and connect vim to it so that yout can execute python code within vim but but without losing focus on vim?

    • @MachineLearningwithPhil
      @MachineLearningwithPhil  ปีที่แล้ว

      Nope, I just exit vim and run python from the terminal.

    • @MachineLearningwithPhil
      @MachineLearningwithPhil  ปีที่แล้ว

      Although this sounds like a good idea. I shall look into it, thanks.

    • @qrockz007
      @qrockz007 ปีที่แล้ว +1

      @@MachineLearningwithPhil So for example if u have 2 Monitors i think it's possible to use one mointor for vim programming and the other monitor running an ipython console in a terminal. There is a vim plugin vim-ipython. "[...]Using this plugin, you can send lines or whole files for IPython to execute[...]You can also send whole files to IPython's %run magic using "
      Would be nice if you can dig into it and give me/us an update.

    • @MachineLearningwithPhil
      @MachineLearningwithPhil  ปีที่แล้ว

      Thank you, I will look into it!

  • @tmendoza6
    @tmendoza6 ปีที่แล้ว

    love Vim

  • @electric_sand
    @electric_sand 2 ปีที่แล้ว +1

    Yay! Phil!

  • @vip-cw1st
    @vip-cw1st 2 ปีที่แล้ว

    Welcome back

  • @mikylekruger4000
    @mikylekruger4000 ปีที่แล้ว

    I’m gonna ditch vscode because this looks great and minimal.

  • @craigdanielmaceacher
    @craigdanielmaceacher ปีที่แล้ว

    Don't use Vundle in 2002, just use native packages support or minpac or even vim-plug

  • @bobingstern4448
    @bobingstern4448 2 ปีที่แล้ว +1

    What happened to the GPU giveaway?

    • @MachineLearningwithPhil
      @MachineLearningwithPhil  2 ปีที่แล้ว

      Winners were notified via email - I didn't make a follow up video. You can find the code I used to generate the winners here:
      github.com/philtabor/TH-cam-Code-Repository/blob/master/giveaway_scrubbed.py

  • @frenchmike
    @frenchmike 6 หลายเดือนก่อน

    vscode let's you ssh it to remote machines.

  • @Cmdrlucky8
    @Cmdrlucky8 ปีที่แล้ว

    I've been thoroughly won over. Bye, VS Code