此文章记录了,笔者使用的插件中的主要命令。

junegunn/vim-plug

:PlugInstall 安装插件
:PlugClean 清理插件
:PlugUpgrade 升级插件管理器
:PlugUpdate 升级插件
:PlugStatus 查看插件状态

junegunn/vim-easy-align

推荐绑定
xmap ga <Plug>(EasyAlign)
nmap ga <Plug>(EasyAlign)

:EasyAlign 对齐文本

terryma/vim-expand-region

vmap v <PLUG>(expand_region_expand)
vmap V <PLUG>(expand_region_shrink)

lfv89/vim-interestingwords

推荐绑定
nnoremap <silent> <leader>k :call InterestingWords('n')<cr>
nnoremap <silent> <leader>K :call UncolorAllWords()<cr>
nnoremap <silent> n :call WordNavigation('forward')<cr>
nnoremap <silent> N :call WordNavigation('backward')<cr>

<Leader>k 高亮单词
n/N 导航
<Leader>K 清楚高亮
扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。