配置
vim ~/.vimrc
语法高亮syntax on
行号set nu
光标控制
h jk l ← ↓↑ →
w word →
b back word ←
ctrl+f forward page down
ctrl+b backward page up
goto line 88 88gg
down 10 lines 10j
up 10 lines 10k
goto line buttom G
search “123” /123
next word n
previous worf shift+n (N)
undo u
复制剪切粘贴
cut [next lines] c[n]c
paste p
copy [next lines] [n]yy
delete [next lines] [n]dd
– VISUAL – v
press ← ↓↑ → to select
auto complete (default) ctrl+n
插件
vim-plug
https://github.com/junegunn/vim-plug
vimawesome.com
https://vimawesome.com/plugin/nerdtree-red
uninstall :PlugClean