2 ms·
> If you try to <ctrl>-c, the program even tells you to use :q And then you do and it helpfully adds ":q" to the buffer. You're still in vim.
by masklinn 10y ago
> If you try to <ctrl>-c, the program even tells you to use :q
And then you do and it helpfully adds ":q" to the buffer.
You're still in vim.
- splawn 10y agoIf you hit ctrl-c then you are no longer in insert mode (ctrl-c acts like esc for some reason), so no, it won't add anything to the buffer and ":q" will get you out. I don't blame people for being confused though.. I remember getting stuck in vim all the time back in the day because of a default $EDITOR value.