Using stow-rename, unhide all the files :3

This commit is contained in:
Danielle McLean 2016-10-07 23:12:17 +11:00
parent 08ea297910
commit 6826c738e2
No known key found for this signature in database
GPG key ID: CC91589719027E94
7 changed files with 4 additions and 0 deletions

12
vimrc Normal file
View file

@ -0,0 +1,12 @@
for [var, value] in items({'XDG_CONFIG_HOME': '~/.config', 'XDG_CACHE_HOME': '~/.cache', 'XDG_DATA_HOME': '~/.local/share'})
if (empty(eval('$' . var)))
exec 'let $' . var . ' = expand(value)'
endif
endfor
set runtimepath=$XDG_CONFIG_HOME/vim,$XDG_CACHE_HOME/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$XDG_CONFIG_HOME/vim/after,$XDG_CACHE_HOME/vim/after
set viminfo+=n$XDG_CACHE_HOME/vim/viminfo
let g:netrw_home = $XDG_CACHE_HOME . '/netrw'
source $XDG_CONFIG_HOME/vim/vimrc
let $MYVIMRC = $XDG_CONFIG_HOME . '/vim/vimrc'