1. disable filetype detection
2. configure bundles
3. enable filetype detection

- otherwise ftplugin files won't work

PS: finally reproduced myself: learning the hard way...
This commit is contained in:
gmarik 2011-04-22 13:21:47 -05:00
parent 138d1a5e77
commit b4f37547cf

View File

@ -12,9 +12,13 @@
Put into your `~/.vimrc`: Put into your `~/.vimrc`:
filetype off
set rtp+=~/.vim/vundle.git/ set rtp+=~/.vim/vundle.git/
call vundle#rc() call vundle#rc()
" My Bundles here:
"
" original repos on github " original repos on github
Bundle 'tpope/vim-fugitive' Bundle 'tpope/vim-fugitive'
Bundle 'lokaltog/vim-easymotion' Bundle 'lokaltog/vim-easymotion'
@ -27,12 +31,7 @@
Bundle 'git://git.wincent.com/command-t.git' Bundle 'git://git.wincent.com/command-t.git'
" ... " ...
" NOTE: if some plugins fail to work, put the config *between* lines: filetype plugin indent on
" filetype off
"
" Vundle stuff here...
"
" filetype plugin indent on
3. Install configured bundles: 3. Install configured bundles: