From FOG Project
Revision as of 22:45, 10 April 2015 by Wayne-workman.28155 (talk | contribs) (Just thought this was needed.... probably going to link to this a LOT.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Quick reference for basic editing in vi

i = go into insert mode, here you may use arrows to navigate text, and edit it with the keyboard as normal. Esc (the escape key) = exit insert mode

WHEN NOT in insert mode you may use

w (then enter) = write changes.
q (then enter) = exit vi
q! (then enter) = exit vi without saving changes.