Why Everyone Should Start Using Vim

  Рет қаралды 15,457

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 81
@moondevonyt
@moondevonyt Жыл бұрын
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 Жыл бұрын
what are those illusive 'many user-friendly and intuitive IDEs'? PyCharm? VsCode? Sublime?
@AntonioRonde
@AntonioRonde Жыл бұрын
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.
@LucasLima-ym1lb
@LucasLima-ym1lb Жыл бұрын
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
@evascroll Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 11 ай бұрын
@@evascroll what about neovim or should i start with vim first
@ruslansmirnov9006
@ruslansmirnov9006 Жыл бұрын
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 Жыл бұрын
@PlutonosVEt согласен и плюсую, с языка снял если точнее, то почти все что есть в Виме - продиктовано ограниченным машинным временем в 70-е инженер приходил на мейнфрейм, заранее записывался (за месяц) и ему, может быть, давали 15 минут поработать на институтском "супер-компьютере"
@MrEternalFool
@MrEternalFool Жыл бұрын
Finally people fighting back against this nonsense.
@HypnosisBear
@HypnosisBear Жыл бұрын
Finally someone with common sense! This comment is very much appreciated 👍
@bulelanibotman
@bulelanibotman Жыл бұрын
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
@Gigusx
@Gigusx Жыл бұрын
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.
@rezhaadriantanuharja3389
@rezhaadriantanuharja3389 3 ай бұрын
I totally agree with you. They are all text editors, just choose what you like and get good at it. I personally chose neovim because I like it. Cannot name a single logical reason to choose it, I just like it.
@eclypze_
@eclypze_ Жыл бұрын
I'm so glad my first professor told us to use Sublime text instead of VS code! Thanks professor Ciccio lol
@rezhaadriantanuharja3389
@rezhaadriantanuharja3389 3 ай бұрын
For those wondering why vi does not start in INSERT mode, the answer is because we edit existing files much more frequently than write new files and the very first thing you do is most likely navigating within the file instead of immediately typing on the first row and column
@alien8tiv
@alien8tiv Жыл бұрын
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
@rble4433
@rble4433 Ай бұрын
while this is all great, I just want to mention that you don't have to navigate a text editor with the mouse or repeatedly tapping arrow keys in other editors either.. for mac, using CTRL + ARROW KEYS will jump to end or start of line, while OPTION + ARROW KEYS will jump to start/end of word. Learning these very simple ways to navigate will be useful in any text editor, saving a lot of time. Combining it with SHIFT will let you easily select within qoutes etc as we just saw, so no need to use your mouse that much outside of Vim either. Still, I'll check out the other tutorials a bit as it seems worth knowing properly as it is an editor which has been used for a long time. Great video! (alright adding vim bindings in other IDEs is pretty neat, will give it a shot)
@SlayMeStu
@SlayMeStu Ай бұрын
The overhead of learning motions at first was really exhausting, especially when it wasnt really possible to stick with vim more during that time. After getting used to motions a bit, the shitty downside is the frustration of having to leave keyboard or using editors without motions 🥵
@NeuralNine
@NeuralNine Ай бұрын
Thankfully Vim bindings are supported almost everywhere now.
@SlayMeStu
@SlayMeStu Ай бұрын
Maybe so but unfortunately the Visual Studio extension doesn't feel worth it due to many issues. Luckily VS is mainly a workplace issue with special legacy cases
@msp99000
@msp99000 Жыл бұрын
bro pair it with tmux to reach next level of multiple panes, sessions, shortcuts etc
@randomrandom7167
@randomrandom7167 Жыл бұрын
Vim tmux i3 (or any wm) 🫶
@lorenzomizushal3980
@lorenzomizushal3980 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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- Жыл бұрын
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.
@rezhaadriantanuharja3389
@rezhaadriantanuharja3389 3 ай бұрын
I treat it like a hobby as in I enjoyed customizing and configuring neovim. I used VS Code to work and use neovim for side projects. Once I was satisfied with the configuration, I switched completely to neovim. This way, there is no time wasted.
@walidmat8972
@walidmat8972 Жыл бұрын
Amazing video as always ❤
@VladyslavVolokitinXirex
@VladyslavVolokitinXirex Жыл бұрын
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!
@Ironpants57
@Ironpants57 Жыл бұрын
I love vim! However I got so used to the keybinds.. Now, my brain wants everything in vim keybinds now lol.
@Chalisque
@Chalisque Жыл бұрын
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 Жыл бұрын
​@@Chalisque It's a real problem lol. I have to remove ":wa" or ":w" from text areas at times
@lxathu
@lxathu Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
​@@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.
@TheDavidlloydjones
@TheDavidlloydjones Жыл бұрын
For boys who hope to grow up to use Emacs.
@randyriegel8553
@randyriegel8553 Жыл бұрын
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.
@arcanelore168
@arcanelore168 11 ай бұрын
Should I buy a VIM book?
@thedeparted_one
@thedeparted_one Жыл бұрын
Thank you, NeuralNine! I have just noticed you moved to NvChad, right. That is NvChad, right?
@theangelofspace155
@theangelofspace155 Жыл бұрын
But... Do you use arch? 😊
@vandorlokronika9581
@vandorlokronika9581 8 ай бұрын
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.
@Chalisque
@Chalisque Жыл бұрын
If I ssh to a remote machine. often vim and nano are the only options for editors.
@thomasgoodwin2648
@thomasgoodwin2648 Жыл бұрын
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 Жыл бұрын
you sound like a tedious person
@rotflol6666
@rotflol6666 Жыл бұрын
pico is nano's big older brother
@swaleyrt
@swaleyrt Жыл бұрын
Hey, when will you talk about the real company Cannafarm Ltd that brings profit?
@nisidabay
@nisidabay Жыл бұрын
I always use Vim, so it makes me sad to see that in all your videos, you hardly use it.
@ricardocantu
@ricardocantu Жыл бұрын
Cool but, can I use vim in MATLAB?? 🙃
@StefanRial-i4f
@StefanRial-i4f Ай бұрын
This would be your experience if you don't know about the same shortcuts and keybinds that also exist in every other IDE
@NeuralNine
@NeuralNine Ай бұрын
I agree that other IDEs have awesome shortcuts as well. But nothing compared to Vim bindings. However, to be fair, most IDEs support Vim bindings in some form. So the video is more about why to use Vim key bindings rather than why to use Vim as an editor.
@yeyintaung9837
@yeyintaung9837 Жыл бұрын
As a bonus ,vim users can use vimium🎉
@gastroesophagealreflux6285
@gastroesophagealreflux6285 Жыл бұрын
This seems like overcomplicating things that are already simple.
@ericmckevitt8308
@ericmckevitt8308 6 ай бұрын
More complicated but the payoff in speed is worth it for those who are comfortable re-learning things
@Stopinvadingmyhardware
@Stopinvadingmyhardware Жыл бұрын
No. Vin is terrible
@chrstfer2452
@chrstfer2452 Жыл бұрын
Emacsers for evil represent
@hannahprobably5765
@hannahprobably5765 Жыл бұрын
emacs curve :D :D
@thomasgoodwin2648
@thomasgoodwin2648 Жыл бұрын
Amazingly accurate.
@falklumo
@falklumo Жыл бұрын
vim sucks compared to emacs. End of story. And I use jetbrains tools anyway ...
@jmjuyelahmed8462
@jmjuyelahmed8462 Жыл бұрын
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!
@johnro
@johnro Жыл бұрын
First
@5SADH
@5SADH Жыл бұрын
How 'bout you Should mind your business.
@allskillnoluck7734
@allskillnoluck7734 Жыл бұрын
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 Жыл бұрын
But you kinda look cool using it. That's the most important selling point.
@randomrandom7167
@randomrandom7167 Жыл бұрын
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 Жыл бұрын
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- Жыл бұрын
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 Жыл бұрын
Yeah, that's what the people who couldn't learn it usually say.
@clamato422
@clamato422 Жыл бұрын
>$ diff /usr/bin/pico /usr/bin/nano >$
@xvsp8767
@xvsp8767 Жыл бұрын
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!
10 Advanced Vim Features (You Probably Didn't Know)
21:47
Sebastian Daschner
Рет қаралды 77 М.
Why I Switched To Linux! And How It's Going...
21:48
NeuralNine
Рет қаралды 106 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Marks in Vim Are A Game Changer
11:01
NeuralNine
Рет қаралды 17 М.
Vim Tips You Probably Never Heard of
12:11
Luke Smith
Рет қаралды 125 М.
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 406 М.
32 Reasons WHY TS IS BETTER Than Go
1:09:29
ThePrimeTime
Рет қаралды 264 М.
Vim As Your Editor - Introduction
12:24
ThePrimeagen
Рет қаралды 1 МЛН
Why I Switched From NEOVIM To VSCODE
13:45
Anthony GG
Рет қаралды 26 М.
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
typecraft
Рет қаралды 137 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 85 М.
VIM The Ultimate Editor
26:50
Chris Titus Tech
Рет қаралды 58 М.
Vim Dadbod - My Favorite SQL Plugin
6:01
TJ DeVries
Рет қаралды 42 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН