1,安装:
$ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
2,配置Plugins:
Put this at the top of your .vimrc to use Vundle.
配置片段:
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
" plugin on GitHub repo
Plugin 'kien/ctrlp.vim' // 安装CtrlP插件
Plugin 'Valloric/YouCompleteMe' // 安装 YCM插件 此神器下载后需要进一步编译
" plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
" Git plugin not hosted on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
Plugin 'file:///home/gmarik/path/to/plugin'
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
3,执行Vundle安装插件
Launch vim and run :BundleInstall // 注意 processing 等待 个别插件比较耗时
或 命令行执行 vim +PluginInstall +qall
4,帮助:
输入 :h vundle
命令模式输入:
PluginList - lists configured plugins
PluginInstall - installs plugins; append `!` to update or just
luginUpdate
PluginSearch foo - searches for foo; append `!` to refresh local cache
PluginClean - confirms removal of unused plugins; append `!` to auto-approve
5,总结
只需要在 ~/.vimrc 中配置 Plugin ,vumble会帮我们把对应的 xx.vim 下载到bundle目录.
分享到:
相关推荐
Vundle,分别是 Vim 和 Bundle 的缩写,它是一款能够管理 Vim 插件的极其实用的工具。 Vundle 为每一个你安装的插件创建一个独立的目录树,并在相应的插件目录中存储附加的配置文件。因此,相互之间没有
vim的插件管理工具,用于对vim插件的下载,维护,更新。
配置vim的插件管理工具vundle,所需要的基本工具
conque:终端 ++++ cscope:快速函数检索 ++++ nerdtree:目录树 ++++ Vundle.vim :插件管理工具 ++++ ctrlp:模糊搜索 ++ ctrlp-funky:函数搜索 ++ LeaderF:模糊搜素 ++
vrundler 是我用来管理 vim 插件的一个简单工具。 不想成为 vundle 的竞争对手,有一天有一些停机时间并决定重构我用来进行 vim 插件管理的旧脚本之一。 我使用病原体进行插件解析,所以这很好地支持它。 只需将代码...
与 Vundle 一起使用,因此可以安装: Plugin 'rgoulter/c-worksheet.vim'该插件依赖于配套的第三方工具,如果找不到,插件会自动下载。 (它将被下载到<plugin> )。要求这个插件需要 Python 2。Vim 需要python选项...
我安装了Vundle作为插件控制工具,您需要首先通过安装它 $ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 然后打开一个VIM并在命令模式下键入:PluginInstall 安装Vundle之后,...
第 1 步:您需要 git clone Vundle 插件,它是非常灵活的 vim 插件工具。 git 克隆 ~/.vim/bundle/Vundle.vim Setp 2:然后您可以将 .vimrc 文件 mv 到您的主路径。 接下来只需执行以下 commond 。 vim +Bundle...
目前,Vim 的插件管理插件主要有三个:pathogen,vim-addon-manager和vundle。个人觉得,在Windows平台下,pathogen最方便好用。下面就简要介绍一下这个插件的使用方法(以Windows平台为例,Unix/Linux平台类似)。 ...
VIM-PI(vim 插件索引)(以前是 vim-addon-manager-known-repositories) ZyX、Marc、Shougo 正在讨论如何将这一切提升到一个新的水平,以便所有插件管理器(VAM、NeoBundle、PyPi 等) 用户分发系统(Gentoo ...
您需要启用imap设置gmail,因为此插件使用imap。 要求 vimproc在Vim中执行交互式命令。 openssl一种工具包,在全球范围内使用完整的加密技术来实现SSL v2 / v3和TLS协议。 我已经过测试,可以与Windows的msysgit中...
自己使用的vim配置文件,解压命令位tar -zxvpf myvim.tar.gz下载解压到用户目录下,执行vim,再执行:PluginInstall即可完成对应插件的安装,然后就可以实用ctags及ctrlp,mark等工具啦。
NERDTree 是一款目录树资源管理工具, 它的作用就是列出当前路径的目录树,可以方便的浏览项目的总体的目录结构和创建删除重命名文件或文件名。...无需 Vundle插件管理器 ,解压至VIM安装路径或者~/.vim下即可
dotfiles/prompt包含Bash提示样式, dotfiles/vundle包含用于管理Vim插件的 DSL语法。 否则,所有点文件都属于其各自的程序。 注意:安装Atom软件包的脚本依赖于ruby。 在运行deploy之前,请在您的系统上对其进行...