Hacker News new | ask | show | jobs
by Zekio 3717 days ago
Only people who can save & exit vim holds it as the pinnacle of editing technology. :) the rest of us can't save files in it
2 comments

Use GVim if you want a gentle introduction. It has GUI buttons for all the basic functions, but key shortcuts still work.
:wq <filenamegoeshere>
The problem uninitiated users have with vim is that it's modal. It's not that they can't type :wq; it's that they don't know where or how to type it or even, conceptually, what the heck is going on when they type that command and it shows up as text.

I'm a long-time vim user, but it's at least worth confronting the criticisms head on (even if this one is a bit tired).

or :x
or ZZ
Or Ctrl+S, Ctrl+W in most GUI environments (gVim, neovim)