I'm aware that if I press esc followed by typing :q!
, I can exit the vim
editor, due to this question.
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?)