Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
tilde31438yHonestly, I never got around to learning how to use vim to its full potential. The only thing I managed to learn was
vi helloworld.c
:wq -
@tild3 that's enough! I've met programmers who reboot their machine in order to exit vim
-
MaxMayo6578yI use vim for everything I can at the moment.
Learning how stuff works and having to remember things stops me becoming an auto complete zombie, and I can splay all my different vim windows (vindows?) across my two monitors and multiple workspaces. It means I can see everything and fix stuff faster than I can in an IDE.
I don't need to use many features.
:w to save when I've made an edit and only need to rebuild with make, which I do from another terminal window.
:wq to save and exit once I'm totally done, but that doesn't happen for days.
:q! when I panick and know I've messed up horrifically since my last write.
:/borkbork to search for occurrences of borkbork in the file or whatever else.
:20 to jump to line 20 or another line.
Perhaps I'm not lightning fast (I know I could be using more features) but I'm pretty happy/ignorant/stressless.
You can even choose how many spaces tabs are read to be, solving tons of readability problems. Vim is easy to use. -
Well basic usage would take 5 minutes at most since all you would have to learn is esc+:wq, esc+q!, and i
but at that point it's no more useful than notepad. if you take about an hour to watch a youtube video on tmux+vim and practice for about another hour it becomes alot more useful than alot of ides I have used in the past -
leny4528y@MaxMayo try to constrain yourself to learn one new move/feature each week. I've made it since the last three months and I really love to see how my vim skills made me code faster, feeling great about it, and, in a strange way, think differently.
The whole point of vim is to manipulate your code without even think about it, by having gestures progressively becoming habits.
cf. this great talk on YouTube : https://youtu.be/_NUO4JEtkDw
Related Rants
"I can learn how to use vim in 5 minutes"
Said no one (ever)
undefined
vim