Why Everyone Should Start Using Vim

  Рет қаралды 14,211

NeuralNine

NeuralNine

Күн бұрын

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-ym1lb 11 ай бұрын
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 😢
@moondevonyt
@moondevonyt 11 ай бұрын
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 11 ай бұрын
what are those illusive 'many user-friendly and intuitive IDEs'? PyCharm? VsCode? Sublime?
@AntonioRonde
@AntonioRonde 11 ай бұрын
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.
@alien8tiv
@alien8tiv 11 ай бұрын
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
@evascroll
@evascroll 11 ай бұрын
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 11 ай бұрын
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 11 ай бұрын
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 6 ай бұрын
@@evascroll what about neovim or should i start with vim first
@vandorlokronika9581
@vandorlokronika9581 3 ай бұрын
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.
@eclypze_
@eclypze_ 7 ай бұрын
I'm so glad my first professor told us to use Sublime text instead of VS code! Thanks professor Ciccio lol
@bulelanibotman
@bulelanibotman 11 ай бұрын
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
@walidmat8972
@walidmat8972 11 ай бұрын
Amazing video as always ❤
@lorenzomizushal3980
@lorenzomizushal3980 11 ай бұрын
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 11 ай бұрын
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 11 ай бұрын
@@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- 11 ай бұрын
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.
@VladyslavVolokitinXirex
@VladyslavVolokitinXirex 11 ай бұрын
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!
@TheDavidlloydjones
@TheDavidlloydjones 11 ай бұрын
For boys who hope to grow up to use Emacs.
@thomasgoodwin2648
@thomasgoodwin2648 11 ай бұрын
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 11 ай бұрын
you sound like a tedious person
@msp99000
@msp99000 11 ай бұрын
bro pair it with tmux to reach next level of multiple panes, sessions, shortcuts etc
@randomrandom7167
@randomrandom7167 11 ай бұрын
Vim tmux i3 (or any wm) 🫶
@Ironpants57
@Ironpants57 11 ай бұрын
I love vim! However I got so used to the keybinds.. Now, my brain wants everything in vim keybinds now lol.
@Chalisque
@Chalisque 7 ай бұрын
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 7 ай бұрын
​@@Chalisque It's a real problem lol. I have to remove ":wa" or ":w" from text areas at times
@ruslansmirnov9006
@ruslansmirnov9006 11 ай бұрын
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 11 ай бұрын
@PlutonosVEt согласен и плюсую, с языка снял если точнее, то почти все что есть в Виме - продиктовано ограниченным машинным временем в 70-е инженер приходил на мейнфрейм, заранее записывался (за месяц) и ему, может быть, давали 15 минут поработать на институтском "супер-компьютере"
@MrEternalFool
@MrEternalFool 11 ай бұрын
Finally people fighting back against this nonsense.
@HypnosisBear
@HypnosisBear 11 ай бұрын
Finally someone with common sense! This comment is very much appreciated 👍
@randyriegel8553
@randyriegel8553 11 ай бұрын
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_one 11 ай бұрын
Thank you, NeuralNine! I have just noticed you moved to NvChad, right. That is NvChad, right?
@Chalisque
@Chalisque 7 ай бұрын
If I ssh to a remote machine. often vim and nano are the only options for editors.
@ricardocantu
@ricardocantu 11 ай бұрын
Cool but, can I use vim in MATLAB?? 🙃
@swaleyrt
@swaleyrt 11 ай бұрын
Hey, when will you talk about the real company Cannafarm Ltd that brings profit?
@rotflol6666
@rotflol6666 11 ай бұрын
pico is nano's big older brother
@Gigusx
@Gigusx 7 ай бұрын
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.
@arcanelore168
@arcanelore168 6 ай бұрын
Should I buy a VIM book?
@yeyintaung9837
@yeyintaung9837 11 ай бұрын
As a bonus ,vim users can use vimium🎉
@lxathu
@lxathu 11 ай бұрын
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 11 ай бұрын
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 11 ай бұрын
​@@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.
@theangelofspace155
@theangelofspace155 9 ай бұрын
But... Do you use arch? 😊
@nisidabay
@nisidabay 11 ай бұрын
I always use Vim, so it makes me sad to see that in all your videos, you hardly use it.
@chrstfer2452
@chrstfer2452 8 ай бұрын
Emacsers for evil represent
@xvsp8767
@xvsp8767 11 ай бұрын
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!
@gastroesophagealreflux6285
@gastroesophagealreflux6285 6 ай бұрын
This seems like overcomplicating things that are already simple.
@ericmckevitt8308
@ericmckevitt8308 Ай бұрын
More complicated but the payoff in speed is worth it for those who are comfortable re-learning things
@hannahprobably5765
@hannahprobably5765 11 ай бұрын
emacs curve :D :D
@thomasgoodwin2648
@thomasgoodwin2648 11 ай бұрын
Amazingly accurate.
@Stopinvadingmyhardware
@Stopinvadingmyhardware 11 ай бұрын
No. Vin is terrible
@johnro
@johnro 11 ай бұрын
First
@falklumo
@falklumo 11 ай бұрын
vim sucks compared to emacs. End of story. And I use jetbrains tools anyway ...
@5SADH
@5SADH 11 ай бұрын
How 'bout you Should mind your business.
@allskillnoluck7734
@allskillnoluck7734 11 ай бұрын
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 11 ай бұрын
But you kinda look cool using it. That's the most important selling point.
@randomrandom7167
@randomrandom7167 11 ай бұрын
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 11 ай бұрын
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- 11 ай бұрын
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 9 ай бұрын
Yeah, that's what the people who couldn't learn it usually say.
@clamato422
@clamato422 11 ай бұрын
>$ diff /usr/bin/pico /usr/bin/nano >$
@jmjuyelahmed8462
@jmjuyelahmed8462 11 ай бұрын
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!
Why I Switched To Linux! And How It's Going...
21:48
NeuralNine
Рет қаралды 104 М.
Marks in Vim Are A Game Changer
11:01
NeuralNine
Рет қаралды 14 М.
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 32 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
i tried Vim...
10:06
Alex Ziskind
Рет қаралды 42 М.
VIM shortcuts but they keep getting crazier
9:53
Amichai Mantinband
Рет қаралды 15 М.
Vim Macros Are A Game Changer
16:55
NeuralNine
Рет қаралды 17 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 46 М.
VIM The Ultimate Editor
26:50
Chris Titus Tech
Рет қаралды 56 М.
Vim vs NeoVim, What's the Difference?  Which Should You Use?
10:29
Mental Outlaw
Рет қаралды 316 М.
Vim Tips You Probably Never Heard of
12:11
Luke Smith
Рет қаралды 115 М.
Don't use VSCode
35:31
PyCon South Africa
Рет қаралды 217 М.
Why I Switched From NEOVIM To VSCODE
13:45
Anthony GG
Рет қаралды 21 М.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 264 М.
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 434 М.
Лучший браузер!
0:27
Honey Montana
Рет қаралды 535 М.