vim常用操作
type
status
date
slug
summary
tags
category
icon
password
配置
语法高亮syntax on
行号set nu
tab/制表符长度 set ts=4 sw=4
控制
u
undo ctrl+r
redo光标控制
h jk l
← ↓↑ →
w
word →
b
back word ←ctrl+f
forward page down
ctrl+b
backward page up88gg
goto line 88
10j
down 10 lines
10k
up 10 lines
G
goto line buttom 搜索
/123
search “123”
n
next word
shift+n (N)
previous word 复制剪切粘贴
c[n]c
cut [next lines]
p
paste
[n]yy
copy [next lines]
[n]dd
delete [next lines] v
– VISUAL –
press ← ↓↑ →
to selectctrl+n
auto complete (default) 插件
vim-plug https://github.com/junegunn/vim-plugvimawesome.com https://vimawesome.com/plugin/nerdtree-red
uninstall :PlugClean