4 ms·
I tried it and typing q does not seem to exit the program. Nothing I tried worked and I had to exit the whole terminal.
by Houshalter 9y ago
I tried it and typing q does not seem to exit the program. Nothing I tried worked and I had to exit the whole terminal.
- ecshafer 9y agoYou have to type :q to quit. : Is the command mode.
- appleiigs 9y agoMissing one step. <esc>:q
- Houshalter 9y agoSo intuitive.
- dllthomas 9y agoActually, the missing step is the <cr> at the end. The <esc> at the beginning is only necessary if you've already got into insert mode. That said, it'll not do any harm.
- flukus 9y agoWell it's not quite that simple because it's more complicated than those tools. Once you are in ex mode ':' though it uses the standard exit key. As for if you stuck in insert mode, this is more akin to when you have text highlighted in a GUI editor, the shortcuts change because you're in a different mode. Remember all editors have modes, vim is just a bit more in your face with them.