5 ms·
> The same thing with vim using nonstandard way of quitting. How do you quit man? How do you quit less? 'q' to quit is pretty standard in the TUI world.
by flukus 9y ago
> The same thing with vim using nonstandard way of quitting.
How do you quit man? How do you quit less?
'q' to quit is pretty standard in the TUI world.
- Houshalter 9y agoI 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.
- dllthomas 9y agoq is only quit when run as a command. In normal mode, it's record.