Change local vimrc to $XDG_CONFIG_HOME/vim/vimrc.local
This commit is contained in:
parent
ad6e137d04
commit
c6305ae9ad
1 changed files with 3 additions and 2 deletions
|
@ -241,7 +241,8 @@ augroup vimrc " {{{
|
||||||
autocmd BufWritePost vimrc source %
|
autocmd BufWritePost vimrc source %
|
||||||
augroup END " }}}
|
augroup END " }}}
|
||||||
|
|
||||||
if filereadable(expand("$XDG_CONFIG_HOME/vimrc.local"))
|
let LOCAL_VIMRC=expand("$XDG_CONFIG_HOME/vim/vimrc.local")
|
||||||
source $XDG_CONFIG_HOME/vimrc.local
|
if filereadable(LOCAL_VIMRC)
|
||||||
|
exec "source " . LOCAL_VIMRC
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue