You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
571 B
VimL
16 lines
571 B
VimL
4 years ago
|
" Load from init.d instead of plugin directory. This is done so a leader key
|
||
|
" can be set before loading plugin settings. This allows the plugin setting
|
||
|
" files to set mappings with leader keys
|
||
|
for f in split(glob('~/.vim/init.d/*.vim'), '\n')
|
||
|
exe 'source' f
|
||
|
endfor
|
||
|
|
||
|
" The plugged plugin manager function calls need to be called between the
|
||
|
" plug#begin and plug#end. Because of that, using the normal plugin directory
|
||
|
" loading won't work.
|
||
|
call plug#begin('~/.vim/plugged')
|
||
|
for f in split(glob('~/.vim/plug.d/*.vim'), '\n')
|
||
|
exe 'source' f
|
||
|
endfor
|
||
|
call plug#end()
|