Rename my actual vimrc file to init.vim, for consistency with Neovim's approach
This commit is contained in:
parent
69d3838c58
commit
5198ba5f2e
3 changed files with 2 additions and 2 deletions
|
@ -2,4 +2,4 @@ set runtimepath+=$XDG_CONFIG_HOME/vim,$XDG_CACHE_HOME/vim,$XDG_CONFIG_HOME/vim/a
|
||||||
if exists('+packpath')
|
if exists('+packpath')
|
||||||
set packpath^=$XDG_CONFIG_HOME/vim,$XDG_CACHE_HOME/vim
|
set packpath^=$XDG_CONFIG_HOME/vim,$XDG_CACHE_HOME/vim
|
||||||
endif
|
endif
|
||||||
source $XDG_CONFIG_HOME/vim/vimrc
|
source $XDG_CONFIG_HOME/vim/init.vim
|
||||||
|
|
2
vimrc
2
vimrc
|
@ -11,5 +11,5 @@ if exists('+packpath')
|
||||||
endif
|
endif
|
||||||
let g:netrw_home = $XDG_CACHE_HOME . '/vim/netrw'
|
let g:netrw_home = $XDG_CACHE_HOME . '/vim/netrw'
|
||||||
|
|
||||||
let $MYVIMRC = $XDG_CONFIG_HOME . '/vim/vimrc'
|
let $MYVIMRC = $XDG_CONFIG_HOME . '/vim/init.vim'
|
||||||
source $MYVIMRC
|
source $MYVIMRC
|
||||||
|
|
Loading…
Reference in a new issue