|
|
|
@ -69,47 +69,41 @@ more information. |
|
|
|
Put this at the top of your `.vimrc` to use Vundle. Remove bundles you |
|
|
|
don't need, they are for illustration purposes. |
|
|
|
> |
|
|
|
set nocompatible " be iMproved, required |
|
|
|
filetype off " required |
|
|
|
|
|
|
|
" set the runtime path to include Vundle and initialize |
|
|
|
set rtp+=~/.vim/bundle/vundle/ |
|
|
|
call vundle#rc() |
|
|
|
" alternatively, pass where Vundle should install plugins |
|
|
|
"call vundle#rc('~/some/plugin/directory') |
|
|
|
|
|
|
|
" let Vundle manage Vundle, required |
|
|
|
Plugin 'gmarik/vundle' |
|
|
|
|
|
|
|
" The following are examples of different formats supported. |
|
|
|
" Plugins are available for use after the Plugin command returns. |
|
|
|
" plugins on GitHub repos |
|
|
|
Plugin 'tpope/vim-fugitive' "A plugin for git integration |
|
|
|
" plugins from http://vim-scripts.org/vim/scripts.html |
|
|
|
Plugin 'L9' |
|
|
|
" plugins not 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' |
|
|
|
" The sparkup vim script is in a subdirectory of this repo called vim. |
|
|
|
" Pass the path to set the runtimepath properly. |
|
|
|
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} |
|
|
|
" Plugin will clone to the folder 'finder' inside ~/.vim/bundle. |
|
|
|
" Use to avoid plugin name collisions. |
|
|
|
Plugin 'FuzzyFinder', {'name': 'finder'} |
|
|
|
|
|
|
|
filetype plugin indent on " required |
|
|
|
" To ignore plugin indent changes, instead use: |
|
|
|
"filetype plugin on |
|
|
|
" |
|
|
|
" Brief help |
|
|
|
" :PluginList - list configured plugins |
|
|
|
" :PluginInstall(!) - install (update) plugins |
|
|
|
" :PluginSearch(!) foo - search (or refresh cache first) for foo |
|
|
|
" :PluginClean(!) - confirm (or auto-approve) removal of unused plugins |
|
|
|
" |
|
|
|
" see :h vundle for more details or wiki for FAQ |
|
|
|
" Put your stuff after this line |
|
|
|
set nocompatible " be iMproved, required |
|
|
|
filetype off " required |
|
|
|
|
|
|
|
" set the runtime path to include Vundle and initialize |
|
|
|
set rtp+=~/.vim/bundle/vundle/ |
|
|
|
call vundle#rc() |
|
|
|
" alternatively, pass a path where Vundle should install bundles |
|
|
|
"let path = '~/some/path/here' |
|
|
|
"call vundle#rc(path) |
|
|
|
|
|
|
|
" let Vundle manage Vundle, required |
|
|
|
Plugin 'gmarik/vundle' |
|
|
|
|
|
|
|
" The following are examples of different formats supported. |
|
|
|
" Keep bundle commands between here and filetype plugin indent on. |
|
|
|
" plugins on GitHub repos |
|
|
|
Plugin 'tpope/vim-fugitive' |
|
|
|
Plugin 'Lokaltog/vim-easymotion' |
|
|
|
Plugin 'tpope/vim-rails.git' |
|
|
|
" The sparkup vim script is in a subdirectory of this repo called vim. |
|
|
|
" Pass the path to set the runtimepath properly. |
|
|
|
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} |
|
|
|
" plugins from http://vim-scripts.org/vim/scripts.html |
|
|
|
Plugin 'L9' |
|
|
|
Plugin 'FuzzyFinder' |
|
|
|
" plugins not 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' |
|
|
|
" ... |
|
|
|
|
|
|
|
filetype plugin indent on " required |
|
|
|
" To ignore plugin indent changes, instead use: |
|
|
|
"filetype plugin on |
|
|
|
" Put your stuff after this line |
|
|
|
|
|
|
|
4. Install configured bundles: |
|
|
|
|
|
|
|
@ -208,7 +202,7 @@ The git protocol supports local installation using the 'file://' protocol. |
|
|
|
This is handy when developing plugins locally. Follow the protocol with an |
|
|
|
absolute path to the script directory. |
|
|
|
> |
|
|
|
Plugin 'file///path/from/root/to/plugin' |
|
|
|
Plugin 'file:///path/from/root/to/plugin' |
|
|
|
|
|
|
|
3.3 INSTALLING PLUGINS ~ |
|
|
|
*vundle-plugins-install* *:PluginInstall* |
|
|
|
|