Rename my actual vimrc file to init.vim, for consistency with Neovim's approach

This commit is contained in:
Danielle McLean 2018-01-24 16:58:39 +11:00
parent 69d3838c58
commit 5198ba5f2e
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
3 changed files with 2 additions and 2 deletions

View file

@ -2,4 +2,4 @@ set runtimepath+=$XDG_CONFIG_HOME/vim,$XDG_CACHE_HOME/vim,$XDG_CONFIG_HOME/vim/a
if exists('+packpath')
set packpath^=$XDG_CONFIG_HOME/vim,$XDG_CACHE_HOME/vim
endif
source $XDG_CONFIG_HOME/vim/vimrc
source $XDG_CONFIG_HOME/vim/init.vim

2
vimrc
View file

@ -11,5 +11,5 @@ if exists('+packpath')
endif
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