Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to exit vim

press ESC to go into command mode then

exit without saving
:q

exit without saving if you made changes
:q!

for saving and quitting
:wq

hope that helps
 
PREVIOUS NEXT
Tagged: #exit #vim
ADD COMMENT
Topic
Name
5+9 =