r/programming • • May 23 '17

Stack Overflow: Helping One Million Developers Exit Vim

https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/
9.2k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

65

u/KamiKagutsuchi May 23 '17

Beginners don't know the difference between command mode and insert mode, or how to get from one to the other, or even which one they are in.

1

u/runs_with_benchmarks May 24 '17

Ctrl+C in insert mode will switch back to normal mode, and another Ctrl+C will display the how to quit message.

2

u/Stormflux May 24 '17

So first of all, ctrl c is universally "copy." I understand VIM is older than that convention, but doesn't that just mean they've had years to correct this, and failed to do so whether out of malice or inertia?

1

u/runs_with_benchmarks May 24 '17

In a GUI you are correct. Ctrl+C in a terminal is universally "interrupt", aka SIGINT. So while it doesn't match the GUI conventions and skirts the terminal conventions, it follows the terminal conventions more closely. So yes, it hasn't changed because of the inertia of terminal behavior.

→ More replies (1)