Email or username:

Password:

Forgot your password?
12 comments
KMohZaid

@b0rk hey there, can you help people who are unable to exit vim after ages? ๐Ÿ™‚

Julia Evans

@KMohZaid what do you mean? I can never tell if "I can't quit vim" is a joke or serious, like I kind of assume that if people are confused about how to quit vim they can google it and see that you can do something like โ€œESC :qa!" to get out.

but maybe thatโ€™s wrong? my brain might be distorted from using vim for too long :)

KMohZaid

@b0rk i was talking about meme ๐Ÿ˜…

KMohZaid

@b0rk btw i learnt recently that there is another way

Shift+Z Shift+Z - save and exit
Shift+Z Shift+Q - exit without save

Erwan ๐Ÿš„

@b0rk I know situations where typing Ctrl-D will give you the answer "please type exit to end the session"

Colin McMillen

@b0rk Stubborn programs get a

Ctrl-Z
bg
kill -9 %1

No Gate Key

@colin_mcmillen @b0rk absolutely this. I run into this on macOS + zsh all. The. Time. Iโ€™ve not dug into why, but I even have a ctrlc_reset=โ€˜trap true INT && trap INTโ€™ (pure cargo cult code from stackexchange) to get ^C working again. Long since lost track of the number of times Iโ€™ve needed to ^Z + bg to get out of a program, tho.

mikeTesteLinux

@b0rk Didnt't know all the possibilites, thanks!

Lapin ๐Ÿ‡

@b0rk Also when in an ssh or telnet session, `~.` will disconnect it

DC Deejay

@b0rk When in doubt...yank it out. ๐Ÿ‘๐Ÿพ

Anatol

@b0rk TIL about the Cโ†’3โ†’SIGINT mapping!

Go Up