普通模式下:

箭头的上下左右移动方向

nG:表示移动到第几行

x,X:删除

(n)dd:删除一整行

yy:复制

p,P:粘贴

u:撤销

ctrl+r,.:重做一次

切换模式:esc->i,r

:w  :wq  ;wq!  :q!  :w [filename]  :r [filename]    ;! command  :set nu   :set nonu