Emmanuel BENOîT
7f891225ab
* Allows custom VIM configuration directory through VIM_HOME * Loads NeoBundle * Various directories created, they'll be used later
18 lines
381 B
VimL
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()
|