Hacker News new | ask | show | jobs
by jks 1411 days ago
> esc esc esc :qa!<cr> (8 strokes)

Yes, that seems quite complete against any preceding keystrokes I can think of, and agreed, it's better to use ^C instead of ESC.

However, your friend's environment variables caused vim to be invoked with the -y flag (vim is famously difficult so they want to always use it in "easy mode").

2 comments

Sticking ^O before the colon should help.
How about this?

esc esc esc ZZ