News for hackers. Stuff that matters.
Re:How do I exit Vim? by jks on Sunday August 07, 2022 @07:08AM (#32375557)
> 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").

Re:How do I exit Vim? by jwilk on Sunday August 07, 2022 @10:02AM (#32376540)
Sticking ^O before the colon should help.
Re:How do I exit Vim? by awsation on Sunday August 07, 2022 @08:31PM (#32381299)
How about this?

esc esc esc ZZ