x = wq
q
q!, quit without save.
move
j,h,k,l
^ or 0:
start of line
$: end of line
:0, start of file
:$, end of file
:n,
line n
^f: move forward one screen
^b: move backward one screen
u:
undo
o: insert a new blank line
yy: copy current line
p: paste after
the current line
/string: search forward
?string: search
backward
vi notes,布布扣,bubuko.com
vi notes
原文:http://www.cnblogs.com/margiex/p/3631910.html