hit [esc] to enter command mode. Then: [:] + [w] to save or [wq] to save and quit or, [q!] to quit without saving.
ps: I recommend running vimtutor. Just type vimtutor on the command line and it will run an interactive tutorial that teaches all the ins and outs of vi(m)
Last edited by bulliver; 09-19-2003 at 07:27 PM.
|