Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

vim quit

# ESC to start command prompt, then
:q!		# exit vi without saving
:wq!	# exit vi with saving (! means exiting even if file is read only)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vim #quit
ADD COMMENT
Topic
Name
7+2 =