Lurker News

Comments (280) 72 threads

Earlier comments
jehlakj1 reply#
This is neat but newcomers beware. This is the easy part. Setting up your config and plugins is why most people go back to ides
triangleman2 replies#
Aren't you supposed to avoid plugins and config so that vi/m will be familiar everywhere you go? That's the advice I've gotten on this board.
bdamm#
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.

krysp#
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

slowhand094 replies#
$15 for lifetime access... rubs chin... I'm old. Would you take $5 as my life is 2/3 gone?
simonebrunozzi1 reply#
Even though, admit it... If the course is really good, the extra $10 are nothing compared to the several hours of frustration that you could save.
irrational4 replies#
Or save all frustration and just don’t use vim ;-)
pletnes1 reply#
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.

Continue this thread — 1 reply

chongli3 replies#
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.

Continue this thread — 3 replies

ranit#
irrational indeed :-)
pc86#
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.
tux19681 reply#
No offence to OP intended at all, but as these things often go, you're paying for the lifetime of the site, not your own.
syndacks#
It was a joke
medecau#
you're going to outlive the site
stingrae#
it's actually the lifetime of your email address
qwerty4561272 replies#
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).
corytheboyd1 reply#
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
julianlam1 reply#
That's a neat tip, thanks for sharing that, this is the exact use case I was looking for.

I was hoping to kick the can on learning vim macros down the road, and so here we go...

corytheboyd#
No problem! Happy to help with things I wish people told me long ago :)
CoffeePython#
Yes it does, all the exercises past the basic navigation one are real life use cases for how it can be used.

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...

Deivuh1 reply#
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.

swirepe#
You've also got "u" for undo. That's another one for you.

Load more comments