[vim] Move vim config files to vim directory
Vim now also supports XDG_CONFIG_HOME for its config files. So use that.
This commit is contained in:
parent
c1fb9721bf
commit
50b0c20c89
4 changed files with 6 additions and 3 deletions
|
|
@ -42,8 +42,8 @@ function addGitTopLevelDirectoryToRuntimePath()
|
|||
end
|
||||
|
||||
vim.cmd [[
|
||||
source ~/.vimrc.common
|
||||
source ~/.vim/plugins.vim
|
||||
source $XDG_CONFIG_HOME/vim/vimrc.common
|
||||
source $XDG_CONFIG_HOME/vim/plugins.vim
|
||||
]]
|
||||
|
||||
addGitTopLevelDirectoryToRuntimePath()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
" ~/.vimrc
|
||||
" Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
source ~/.vimrc.common
|
||||
source $XDG_CONFIG_HOME/vim/vimrc.common
|
||||
source $XDG_CONFIG_HOME/vim/plugins.vim
|
||||
|
||||
if !has('nvim')
|
||||
set nocompatible " use enhanced vim features
|
||||
|
|
@ -24,4 +25,6 @@ if !has('nvim')
|
|||
" : maximum number of lines of command history to save
|
||||
" s shada entries over 100 KiB are skipped
|
||||
set viminfo=%100,'100,h,<1000,:100,s100
|
||||
|
||||
colorscheme zaibatsu
|
||||
endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue