-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.vim
More file actions
33 lines (26 loc) · 814 Bytes
/
base.vim
File metadata and controls
33 lines (26 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
filetype off
filetype plugin indent off
" NeoBundle
if has('vim_starting')
if !isdirectory(expand("~/.vim/bundle/neobundle.vim/"))
echo "install neobundle..."
:call system("git clone git://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim")
endif
set runtimepath+=~/.vim/bundle/neobundle.vim
endif
call neobundle#rc(expand('~/.vim/bundle/'))
NeoBundleFetch 'Shougo/neobundle.vim'
augroup MyAutoCmd
autocmd!
augroup END
runtime! config/*.vim
filetype plugin indent on
autocmd MyAutoCmd FileType * setlocal formatoptions-=ro
if(!empty(neobundle#get_not_installed_bundle_names()))
echomsg 'Not installed bundles: '
\ string(neobundle#get_not_installed_bundle_names())
if confirm('Install bundles now?', "yes\nNo", 2) == 1
NeoBundleInstall
source ~/.vimrc
endif
end