2 ms·
Better/Other ways to exit VI/vim: * ctrl+z; kill %1 * Open a new terminal and ignore the one with vim running. * ZZ * Pull the power cord, erasing any
by zie 8y ago
Better/Other ways to exit VI/vim:
* ctrl+z; kill %1
* Open a new terminal and ignore the one with vim running.
* ZZ
* Pull the power cord, erasing any sign of it running.
* ESC :q!
* ESC :wq
* ESC :exit
* ESC :quit
Of course ESC and :q usually works too ;)
- opan 8y agoZQ is another one. Like ZZ, but doesn't save. I mainly use ZZ and ZQ to quit.