Answers for "how to exit vi in linux"

0

vim discard changes and quit command

Vim editor:
Insert: hit I key
Discard and exit: esc q!
Save and exit: esc qw
Posted by: Guest on September-16-2020
0

how to exit vi in linux

(without saving changes)
if in insert or append mode press Esc.
else type ":q!" and press Enter
Posted by: Guest on February-25-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language