vim常见使用方法
代码提示插件
安装install
下载AutoComplPop插件,将压缩包解压,将每个文件依次放入家目录~/.vim
文件夹中
INSTALLATION acp-installation
Put all files into your runtime directory. If you have the zip file, extract it to your runtime directory.
You should place the files as follows: > /plugin/acp.vim /doc/acp.txt ... <

常用快捷键
在命令行模式下使用
yy
复制光标所在行在命令行模式下使用
dd
删除光标所在行在命令行模式下使用
p
粘贴yy
所复制的行在命令模式下使用
u
进行撤回在输入模式下使用
shift +insert
粘贴剪切板内容
参考
[AutoComplPop]( https://www.vim.org/scripts/script.php?script%5Fid=1879 )
Last updated
Was this helpful?