forked from Yamagi/vimrc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc-stub
More file actions
32 lines (26 loc) · 692 Bytes
/
vimrc-stub
File metadata and controls
32 lines (26 loc) · 692 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
" Hauptkonfiguration laden?
let g:vimrc_load = 1
" Plugins laden?
let g:vimrc_plugins = 1
" =======================================================================================
if has("win64") || has("win32")
if g:vimrc_load == 1
source $HOME/vimfiles/vimrc
if g:vimrc_plugins == 1
for rcfile in split(globpath($HOME."/vimfiles/plugin-config", "*.vim"), '\n')
execute('source '.rcfile)
endfor
endif
endif
else
if g:vimrc_load == 1
source $HOME/.vim/vimrc
if g:vimrc_plugins == 1
for rcfile in split(globpath($HOME."/.vim/plugin-config", "*.vim"), '\n')
execute('source '.rcfile)
endfor
endif
endif
endif
unlet g:vimrc_load
unlet g:vimrc_plugins