常用vim插件

本文详细介绍了vim插件管理利器vimpyre的安装与使用方法,包括初始化、搜索、安装插件等操作,并列举了常用vim插件如cvim-pathogen、pyfold等,还解决了ubuntu默认vim不能使用系统粘贴版的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://blog.csdn.net/tge7618291/article/details/4216977


http://www.aitilife.com/2011/04/10/vim%E5%B8%B8%E7%94%A8%E6%8F%92%E4%BB%B6%E5%A4%A7%E5%85%A8/


vim 插件管理利器: vimpyre

sudo apt-get install vimpyre 或者 pip install vimpyre

vimpyre init

vimpyre search xxxx

vimpyre install xxxx

$ vimpyre list_installed
=> => Send bats to collect all your vim-scripts
cvim-pathogen => https://github.com/HenningM/cvim-pathogen.git
pyfold => https://github.com/vim-scripts/pyfold.git
pythoncomplete => https://github.com/meermanr/pythoncomplete.git
dwm.vim => https://github.com/spolu/dwm.vim.git
jedi-vim => https://github.com/davidhalter/jedi-vim.git
nerdcommenter => https://github.com/scrooloose/nerdcommenter.git
TaskList.vim => https://github.com/djurczak/TaskList.vim.git
tasklist-pathogen => https://github.com/superjudge/tasklist-
pathogen.git
taglist.vim => https://github.com/esukram/taglist.vim.git
FindMate => https://github.com/vim-scripts/FindMate.git
nerdtree => https://github.com/scrooloose/nerdtree.git
pyflakes => https://github.com/vim-scripts/pyflakes.git
vimim => https://github.com/vimim/vimim.git


ubuntu 默认vim应该不能使用系统粘帖版,:reg查看寄存器里没有"+和"*

sudo apt-get install vim-gnome即可

$ vim --version | grep clipboard
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments 
+xsmp_interact +xterm_clipboard -xterm_save 
“+y 复制内容到系统粘帖板

"+p 从系统粘帖板复制内容到vim



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值