Hacker News new | ask | show | jobs
by dwyer 3309 days ago
Why would you ever exit vim?
5 comments

"I've been using Vim for about 2 years now, mostly because I can't figure out how to exit it."

[1] https://twitter.com/iamdevloper/status/435555976687923200?la...

Sometimes you'll need to update it for example.
It's presumably possible to update and spawn a new instance from inside vim, but I won't say it's sensible.
To enter Emacs or <insert your favorite editor here>, of course!!
WHAT IS ZZ?

Because your keyboard is stuck on permanent caps lock and you cannot remember the alternative to ':wq' which you cannot enter due to the perma-caps input device that requires a reboot to become a keyboard again.

If you use Synergy then this happens and a reboot can be easier if you are stuck.

In theory you really could forget 'ZZ', I nearly forgot '=aB' for some reason recently, this '=aB' to indent is only really known in muscle memory and the actual '=aB' text is entered and gone quickly from the bottom of the screen, so never seen, merely memorised as muscle memory, not a written or vebalised thing.

Well uh... like if I just rebase -i 'd, how do I continue going about GITing without exiting vim?