My approach is to just use all the tools. I use clumsy IDEs when I really need powerful debugging. I use vim when I need powerful editing/macros. Sometimes I do code browsing with ctags. Sometimes I do code browsing with Eclipse. There's no need to be a purist.
Except vim. No plugins into vim. That is sacrilege.
If you setup your dotfiles correctly, your vim environment should be accessible with a simple `git pull`.
The plugins are very worth it, there's no need to handicap yourself locally just so your environment matches some bare bones server config. And regardless, the basic vim motions are always there - you don't lose much when just editing some config files on a server even if you have to use vanilla vim
If you think vim is frustrating for a beginner, you have no idea what it feels like to edit text in non-vim for a half-assed vim user. Really, I don’t master vim after >1decade, but that’s not necessary.
I've used vim for many years now. It is true, learning vim makes it very frustrating when you find yourself having to use another editor. Luckily, vim is pretty much everywhere so those situations are rare.
It seems one of these vim tutorials comes up every 6 months or so, and the one thing they're all missing is a convincing explanation of why someone should learn all the esoteric incantations of a 30-year old text editor.
Does it include practical use cases demonstrating how vim tricks can really come in handy in real life? This probably is the hardest part for me - I can't imagine a case where I would like to use any of them I've ever read about (yet I still feel interested).
Not a mega power vim user, but maybe this qualifies. I use vim as my git editor. When doing interactive rebase, if I want to squash/fix commits, for example, I go to the first commit I want to change the command for, ‘ciw’ to change the command, ‘esc’ to exit exit, then for the subsequent commits I want to squash/fix, just use ‘.’ to replay those same commands to the new line. Works very well! I love using vim as the git editor, it’s stupid fast, and doesn’t take you away from the command line
I'm considering learning more vim besides "esc /insert and :q :w" and this might be a great start.
As an emacs user it's frustrating having to install emacs to do some config editing whereas in my experience vim is included everywhere. e.g. my router.
Comments (280) 72 threads
Earlier commentsExcept vim. No plugins into vim. That is sacrilege.
The plugins are very worth it, there's no need to handicap yourself locally just so your environment matches some bare bones server config.
And regardless, the basic vim motions are always there - you don't lose much when just editing some config files on a server even if you have to use vanilla vim
Continue this thread — 1 reply
Continue this thread — 3 replies
I was hoping to kick the can on learning vim macros down the road, and so here we go...
I need to add some better copy and examples on the landing page so people will know what they're getting.
Here's a video on twitter that demonstrates one of the exercises https://twitter.com/KennethCassel/status/1351178904686514178...
As an emacs user it's frustrating having to install emacs to do some config editing whereas in my experience vim is included everywhere. e.g. my router.
All comments shown.
Couldn't load more comments. Check your connection and try again.