vim备忘录

复制到剪切板

1
"+y

命令行模式粘贴剪切板内容

1
<Ctrl+r>+
1
2
3
4
5
6
:reg
:version
:set nocindent
:set paste
qa #记录宏到a,结束记录按q
@a #回放宏从a

插件

1
2
3
4
5
6
SrcExpl
	https://www.vim.org/scripts/script.php?script_id=2179
	https://github.com/wenlongche/SrcExpl
taglist.vim
	https://www.vim.org/scripts/script.php?script_id=273
	https://github.com/yegappan/taglist

refer to:
https://www.imooc.com/wenda/detail/588162
https://www.cnblogs.com/bwangel23/p/4421957.html
https://blog.csdn.net/Coppa/article/details/108026080