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

main
Danielle McLean 5 years ago
parent 69d3838c58
commit 5198ba5f2e
Signed by: 00dani
GPG Key ID: 5A5D2D1AFF12EEC5
  1. 2
      config/nvim/init.vim
  2. 0
      config/vim/init.vim
  3. 2
      vimrc

@ -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

@ -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

Loading…
Cancel
Save