==vi============================
---save-------------------------
:w file, :q, :q!, ZZ
---mode-------------------------
Esc,i,a,o,A,O
---cursor move------------------
h,j,k,l,H,M,L,1G,G,nG
zEnter,z.,z-
---delete-----------------------
nx,dd,D,d /string,dnG
---modify-----------------------
r,R,
---copy paste-------------------
yy,nyy,yw,p
"(a-z)nyy
"(a-z)ndd
"(a-z)p
y + find command / or f,ny
---search-----------------------
/,?,n,N
:g/text1
:s/oldtext/newtext
m(a-z)
'(a-z)
---insert-----------------------
:r file
---recommand--------------------
.
---cancel-----------------------
u,U,nu
---view line--------------------
:set number,:set nonumber
============================vi==
阅读(1494) | 评论(0) | 转发(0) |