prev next index

Using vi in Linux
Updated March 21, 2002
Created March 21, 2002


vi

Singles:  (Command executes immediately)
iIaArRoOpPYDJxXu(U)sS

Movement:  (Command executes immediately)
up/down/left/right
kjhl
CTRL+U CTRL+D wWeEbB
number (jump that many lines down)

Combo's:
yy          (yank/copy 1 line)
dd          (del 1 line)
5yy   p     (copy and paste)
7dd   p     (cut and paste)
/searchstring    (search for something - use n and N to search again down or up)

Commands that need qualifiers:
dc

Colon Commands:
:w
:q
:w!
:q!
:wq
:w newfilename    (save under a new filename - next save reverts back to old filename)

CTRL+t            (if in insert mode then insert a tab)

prev next index
NEW! Search this Site!:
Search this site powered by FreeFind
Homepage: http://www.cpqlinux.com
Site Map: http://www.cpqlinux.com/datesort.html