I'm aware that if I press esc followed by typing
:q!
, I can exit the vim
editor, due to [this question](https://stackoverflow.com/questions/11828270/how-do-i-exit-the-vim-editor) .
However, the standard convention is for programs to exit when ctrl + c is pressed, which sends a SIGINT
to the currently running process.
For example, top
, tail -f
, and ping
all follow this convention.
My question is this: _Why_ doesn't vim
follow this well-established convention? Is there a historical reason, or is it something else?
It seems to me that it would avoid a lot of confusion for new users if it followed this standard convention like everything else.
_(While we're at it, why is it SIGINT
and not SIGTERM
in the first place?)_
Asked by starbeamrainbowlabs
(317 rep)
Jun 14, 2019, 05:54 PM
Last activity: Jun 14, 2019, 06:33 PM
Last activity: Jun 14, 2019, 06:33 PM