Why Everyone Should Start Using Vim

Ғылым және технология

Today we discuss why every single programmer should learn how to properly use Vim.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
💼 Services 💼
💻 Freelancing & Tutoring: www.neuralnine.com/services
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord

Пікірлер: 72

  • @LucasLima-ym1lb
    @LucasLima-ym1lb10 ай бұрын

    Best code editor of all time! At first, the learning curve is high but when you get used to it, it's gonna save you time and improve your workflow a lot. Thanks Bram Moolenar, rest in peace 😢

  • @evascroll
    @evascroll10 ай бұрын

    Great vid! Im 47old cabinet maker that just start learning coding in python and taking computer science, my firt time using vim didn't have any problem using it! Because i always read and learn how stuff work before i try my self! I have vs code, but vim give me a more personal feel! Actually im using lunarvim that just finished configuration a week back! Still learnings about the command and shortcut but i thinks is more fun than vscode! Thanks for your videos and gretting from puerto rico!

  • @nickmills8476

    @nickmills8476

    10 ай бұрын

    I think vim gives a more tactile feel for the code. When using vs or similar many different code structures are basically edited the same way. In vim on the other hand there’s a key binding for everything you do, different code is handled differently, as it should be. I find I’m more aware of the code in front of me when I use vim, because of this tactile reinforcement.

  • @evascroll

    @evascroll

    10 ай бұрын

    Exactly! As a beginner I feel that vim kinda make me understand and learn better of what I'm writing and what it does! Vs code kind do what ever it wants! I have lunarvim even in my tab s8 when vscode is only available on cloud!

  • @mouhamed2692

    @mouhamed2692

    5 ай бұрын

    @@evascroll what about neovim or should i start with vim first

  • @moondevonyt
    @moondevonyt10 ай бұрын

    massive kudos to the creator for diving deep into Vim and shedding light on its potential but real talk, in an era where we've got so many user-friendly and intuitive IDEs, pushing everyone to jump on the Vim bandwagon feels a bit old-school however, got to hand it to you for making Vim look cool and showing its value for programmers mad respect for your passion

  • @thedeparted_one

    @thedeparted_one

    10 ай бұрын

    what are those illusive 'many user-friendly and intuitive IDEs'? PyCharm? VsCode? Sublime?

  • @AntonioRonde

    @AntonioRonde

    10 ай бұрын

    I think only using vim should not be the end goal. It is about thinking more clearly about what you want to achieve. Inside our daily workflows when editing code there are all these tiny inefficiencies that vim makes obvious. The same kind of inefficiencies are also in the code we write. They are also in companies. In markets. And once you know clearly what you want to do, you will recognize new ways of achieving it. Vim is like the gateway drug to first principles thinking.

  • @vandorlokronika9581
    @vandorlokronika95812 ай бұрын

    Most of the things which you have mentioned in the video can be achieved with modern editors by using their built in keybindings and the modern keys like insert, home, end, delete etc. If you learn macros you can get almost everything with them what Vim or Emacs can offer. Vim is a great editor but its speed can be achieved with other editors if you don't relay on the mouse constantly.

  • @alien8tiv
    @alien8tiv10 ай бұрын

    Been using for a decade and a half. Have a lot of keybinds down, but I'm still learning new things of vim, like some in this video. Thanks

  • @walidmat8972
    @walidmat897210 ай бұрын

    Amazing video as always ❤

  • @lorenzomizushal3980
    @lorenzomizushal398010 ай бұрын

    The amount of time you save when using VIM is probably roughly equal to the amount of time spent learning it, not to mention the time spent customising it.

  • @ruslansmirnov9006

    @ruslansmirnov9006

    10 ай бұрын

    this is not about saving time, this is about FEELING and ACTING as a professional, not as a person who simply types programming language statements into the editor; overall, this is about killing your mouse

  • @lorenzomizushal3980

    @lorenzomizushal3980

    10 ай бұрын

    @@ruslansmirnov9006 if you get paid to program you're a professional programmer. You don't need to try to be like a meme programmer, lol.

  • @Snollygoster-

    @Snollygoster-

    10 ай бұрын

    The vim motions are the thing to learn, they're the bread and butter of it all and lots of editors include them because of how good they are. You don't actually need to "use vim" because I do agree the customization aspect of it can be rather tedious, but that has a different kind of value in doing it.

  • @bulelanibotman
    @bulelanibotman10 ай бұрын

    11:44 - this is so true, i can't code without vim. i feel alienated whenever i write something even on notepad when i don't have my vim bindings. i can't truly say i am not a god at vim nor do i know some nuances of it but the basic navigation key bindings make my life a breeze

  • @eclypze_
    @eclypze_6 ай бұрын

    I'm so glad my first professor told us to use Sublime text instead of VS code! Thanks professor Ciccio lol

  • @VladyslavVolokitinXirex
    @VladyslavVolokitinXirex10 ай бұрын

    What do you know about the nteract development environment? I tried to figure out how to work in it, but it never got to me. For working with notebooks it looks really cool. If you do a review, that would be really cool. Thanks for the video!

  • @msp99000
    @msp9900010 ай бұрын

    bro pair it with tmux to reach next level of multiple panes, sessions, shortcuts etc

  • @randomrandom7167

    @randomrandom7167

    10 ай бұрын

    Vim tmux i3 (or any wm) 🫶

  • @TheDavidlloydjones
    @TheDavidlloydjones10 ай бұрын

    For boys who hope to grow up to use Emacs.

  • @Ironpants57
    @Ironpants5710 ай бұрын

    I love vim! However I got so used to the keybinds.. Now, my brain wants everything in vim keybinds now lol.

  • @Chalisque

    @Chalisque

    6 ай бұрын

    I know the feeling. A piece of advice I got from vimscript the hardway was to use jk as an alias for to exit edit mode. Now my fingers instinctivly type jk when I'm done editing something. Even in a textarea! jk

  • @Ironpants57

    @Ironpants57

    6 ай бұрын

    ​@@Chalisque It's a real problem lol. I have to remove ":wa" or ":w" from text areas at times

  • @arcanelore168
    @arcanelore1685 ай бұрын

    Should I buy a VIM book?

  • @thomasgoodwin2648
    @thomasgoodwin264810 ай бұрын

    I suppose there might be some advantage in taking the time to learn Esperanto too, but honestly I can't think of any at the moment. Being just a country coder, and not having to prove my worth in the world of private professional enterprise, I find that I don't really need that level of mental investment (memorization is one of my most difficult mental tasks) to achieve my goals. If I were in such a competitive environment and living under time constraints it might be a different story. Further, neither VIM or EMACS really fit my style. I know this because in the (distant) past, we had to write our own text editors (including macros, undo, save, load, navigation...). (Writing a TEd is a great learning exercise as you will gain a full understanding of basic programming techniques as well as fundamental system interfaces.) In coding those I also gained a sense of my preferred editing style. Neither of those aforementioned editors is even close. These days I find IDEs have all the tools I need. Notepad is perfect for little jobs, and anything bigger just means I'm probably writing a script. Simple with minimal memorization required. Again, environment is probably an overriding factor, but for once I have to agree with the immortal words of Nancy Reagan-"Just say 'No!'". ❤ the content as always, even when I disagree (keeps me on my toes😉).

  • @memento-mori-amor

    @memento-mori-amor

    10 ай бұрын

    you sound like a tedious person

  • @randyriegel8553
    @randyriegel855310 ай бұрын

    I love VIM especially for writing bash scripts or other simple scripts. But when I'm writing writing C# or something I use VS code in linux.

  • @thedeparted_one
    @thedeparted_one10 ай бұрын

    Thank you, NeuralNine! I have just noticed you moved to NvChad, right. That is NvChad, right?

  • @ricardocantu
    @ricardocantu10 ай бұрын

    Cool but, can I use vim in MATLAB?? 🙃

  • @theangelofspace155
    @theangelofspace1558 ай бұрын

    But... Do you use arch? 😊

  • @rotflol6666
    @rotflol666610 ай бұрын

    pico is nano's big older brother

  • @swaleyrt
    @swaleyrt10 ай бұрын

    Hey, when will you talk about the real company Cannafarm Ltd that brings profit?

  • @Chalisque
    @Chalisque6 ай бұрын

    If I ssh to a remote machine. often vim and nano are the only options for editors.

  • @ruslansmirnov9006
    @ruslansmirnov900610 ай бұрын

    let us debunk 0:00 the visual border between the status bar and the editor itself has left the chat; program menu? different font sizes for the editor and the bars? meh 3:29 why there is no -o / -n option for the program being run? why creating a new file and opening an existing one is the same command? why? is it really so often being done that programmers actually save time by NOT typing -n? or -create? 4:39 11:47 Control+Shift+Arrows has left the chat 5:07 the Home/End keys have left the chat; Ctrl+End, too 6:52 Ctrl+X in Notepad++ has left the chat 8:53 13:37 macro recording in Notepad++ has left the chat; ability to use regexes for massive replacements without exiting the IDE witth the same file already opened, too 9:40 column selection mode (Alt+LMB) in almost all modern editors and IDEs has left the chat 11:57 Ctrl+' has left the chat 12:19 customizable hotkeys in most 15:42 IDEs have left the chat overall, text mode 15:20 terminals were not designed for editing; they are for printing information to the user and inputting short system commands; they are TERMINALS; how about a full-screen mode in Vim? distraction-free mode? custom fonts? document map sidebar? changing colorsyntax theme on the fly? visually setting breakpoints? huh?

  • @ruslansmirnov9006

    @ruslansmirnov9006

    10 ай бұрын

    @PlutonosVEt согласен и плюсую, с языка снял если точнее, то почти все что есть в Виме - продиктовано ограниченным машинным временем в 70-е инженер приходил на мейнфрейм, заранее записывался (за месяц) и ему, может быть, давали 15 минут поработать на институтском "супер-компьютере"

  • @MrEternalFool

    @MrEternalFool

    10 ай бұрын

    Finally people fighting back against this nonsense.

  • @HypnosisBear

    @HypnosisBear

    10 ай бұрын

    Finally someone with common sense! This comment is very much appreciated 👍

  • @lxathu
    @lxathu10 ай бұрын

    If someone thinks programming seriously, they can't avoid learning regular expressions. But once someone knows how to deal with regular expressions, wasting vi(m)'s capabilities of manipulating text with only a few chararters is a sin and self-harm.

  • @ITSjustWOOL

    @ITSjustWOOL

    10 ай бұрын

    What are you doing in software where you need to learn regular expressions? I've used them once in 7 years, and that was for a throwaway script fixing bad data. I worked out what I needed and forgot about it. Most times, I've seen them used it's generally been in a bad implementation of something

  • @lxathu

    @lxathu

    10 ай бұрын

    ​@@ITSjustWOOL Processing output of programs (intermediate result, log, error, you name it), forcing and filtering the format of input, searching for files with guessable but uncertain content, flexibly refactoring code, writing network traffic rules against attacks (or preparations for attacking) - all these are typical areas where RE's win. Don't get me wrong: all these are possible without RE. They are """only""" pre-written text mangling algorithms in the background that are called with the RE's as special controlling parameters, after all. It's just a huge waste of time if someone invents the wheel and writes, tests, fixes (when the format of the data to process changes, re-writes, tests...) those mangling routines from scratch instead of formulate them using parameters called RE's. And the truth is: 80% of RE's you find around the web use the 20% of the language possibilities (and efficiency) of RE's and they are still life(time)-savers.

  • @yeyintaung9837
    @yeyintaung983710 ай бұрын

    As a bonus ,vim users can use vimium🎉

  • @nisidabay
    @nisidabay10 ай бұрын

    I always use Vim, so it makes me sad to see that in all your videos, you hardly use it.

  • @Gigusx
    @Gigusx6 ай бұрын

    On one hand, looks cool and you've shown some features that would maybe compel me to try and give Vim a try, on the other hand you completely oversold some things. In all or most of the modern IDEs you have keybinds for duplicating, deleting entire lines, copying portions of the lines, complex snippets (i.e. macros), selecting multiple lines, whatever, you name it. You don't just click once for every letter you want to move past, and a lot of it is customizable and extensible with your own or community plugins. Point being, you should have focused more on highlighting the features that really make Vim special and distinct instead of bashing on the way of doing things in other editors that people have long moved past from.

  • @xvsp8767
    @xvsp876710 ай бұрын

    Wait, do you think cryptocurrency will crash? I dont think so. More and more companies are integrating cryptocurrency into their operations: Amazon, Cannafarm Ltd, Burger King, even Starbucks, dude!

  • @chrstfer2452
    @chrstfer24527 ай бұрын

    Emacsers for evil represent

  • @Stopinvadingmyhardware
    @Stopinvadingmyhardware10 ай бұрын

    No. Vin is terrible

  • @gastroesophagealreflux6285
    @gastroesophagealreflux62855 ай бұрын

    This seems like overcomplicating things that are already simple.

  • @ericmckevitt8308

    @ericmckevitt8308

    13 күн бұрын

    More complicated but the payoff in speed is worth it for those who are comfortable re-learning things

  • @johnro
    @johnro10 ай бұрын

    First

  • @hannahprobably5765
    @hannahprobably576510 ай бұрын

    emacs curve :D :D

  • @thomasgoodwin2648

    @thomasgoodwin2648

    10 ай бұрын

    Amazingly accurate.

  • @falklumo
    @falklumo10 ай бұрын

    vim sucks compared to emacs. End of story. And I use jetbrains tools anyway ...

  • @5SADH
    @5SADH10 ай бұрын

    How 'bout you Should mind your business.

  • @allskillnoluck7734
    @allskillnoluck773410 ай бұрын

    There are much simpler editors that are just as effective, if not more so, than VIM. To use VIM is to complicate your life for nothing.

  • @lorenzomizushal3980

    @lorenzomizushal3980

    10 ай бұрын

    But you kinda look cool using it. That's the most important selling point.

  • @randomrandom7167

    @randomrandom7167

    10 ай бұрын

    Nah it's not for looking cool, my wrist thanks me every day since I use vim And it's only one of the many benefits

  • @reggiedixon2

    @reggiedixon2

    10 ай бұрын

    I started with vi on POSIX in 1991, to me it is a muscle memory thing so when recently I had to use it again after nearly 30 years of being in the Windows environment I was pleasantly surprised how quickly the essentials came back. However I have to admit that the power of windows editors such as Ultraedit and Notepad++ blow it completely out of the water.

  • @Snollygoster-

    @Snollygoster-

    10 ай бұрын

    Vim is a simple editor. Nano is a simple editor, Emacs is a simple editor. VSCode, is not a simple editor. Easy to use? Yeah probably.

  • @gale993

    @gale993

    8 ай бұрын

    Yeah, that's what the people who couldn't learn it usually say.

  • @clamato422
    @clamato42210 ай бұрын

    >$ diff /usr/bin/pico /usr/bin/nano >$

  • @jmjuyelahmed8462
    @jmjuyelahmed846210 ай бұрын

    Wait, do you think cryptocurrency will crash? I dont think so. More and more companies are integrating cryptocurrency into their operations: Amazon, Cannafarm Ltd, Burger King, even Starbucks, dude!

Келесі