setnocompatible" be iMprovedfiletype off " required!setrtp+=~/.vim/bundle/vundle/call vundle#rc()" let Vundle manage Vundle" required! Bundle 'gmarik/vundle'" My bundles here:"" original repos on GitHubBundle 'tpope/vim-fugitive'Bundle 'Lokaltog/vim-powerline'Bundle 'Shougo/neocomplcache.vim'Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'tpope/vim-rails.git'" vim-scripts reposBundle 'L9'Bundle 'FuzzyFinder'filetype plugin indent on" required!"" Brief help" :BundleList - list configured bundles" :BundleInstall(!) - install (update) bundles" :BundleSearch(!) foo - search (or refresh cache first) for foo" :BundleClean(!) - confirm (or auto-approve) removal of unused bundles"" see :h vundle for more details or wiki for FAQ" NOTE: comments after Bundle commands are not allowed.
安装插件
配置完 .vimrc 之后,推出 vim 并重新进入,在命令模式下输入 :BundleInstall ,系统就会自动开始安装插件。在 bundle 目录下生成下面的目录结构: