速查常用vim命令
https://vimhelp.org/:w
save:x
:wq
save and quit:q!
quit not save/string
find "string", use n/N to find next/previous one:{作用范围}s/{目标}/{替换}/{替换的标志}
作用范围:%
所有行第一次,'<,'>
可视范围
替换标志:i
大小写不敏感,I
大小写敏感,g
全局
h
左 j
下 k
上 l
右
yy
copy line
p
paste
u
undo
ctrl + r
redo