heavim/config-bits/20-neobundle.vim
Emmanuel BENOîT 7f891225ab Initial version
* Allows custom VIM configuration directory through VIM_HOME
* Loads NeoBundle
* Various directories created, they'll be used later
2015-02-22 10:37:39 +01:00

18 lines
381 B
VimL

" Load and initialise NeoBundle and plugins
let s:bundles_dir = g:vim_home . "/bundle/"
if has( 'vim_starting' )
if &compatible
set nocompatible
endif
let s:neobundle_path=s:bundles_dir . "neobundle.vim/"
let &g:runtimepath = &g:runtimepath . "," . s:neobundle_path
endif
call neobundle#begin( s:bundles_dir )
NeoBundleFetch 'Shougo/neobundle.vim'
call neobundle#end()