summaryrefslogtreecommitdiff
path: root/.config/vim/vimrc
diff options
context:
space:
mode:
authorben <benjaminfranzke@gmail.com>2010-03-01 14:57:16 +0100
committerben <benjaminfranzke@gmail.com>2010-03-01 14:57:16 +0100
commit78bebc7825fe2b975c642a24ec66e7a7605f29e8 (patch)
treef8b2f6e28c9be9967678e8b5cbc8d2e3ff05fb9b /.config/vim/vimrc
parentfd56c8363ab3c6e8b18fedf4d9ce7cf06fa1cfcf (diff)
downloaddotfiles-78bebc7825fe2b975c642a24ec66e7a7605f29e8.tar.gz
dotfiles-78bebc7825fe2b975c642a24ec66e7a7605f29e8.tar.bz2
dotfiles-78bebc7825fe2b975c642a24ec66e7a7605f29e8.zip
vimrc:use $XDG_* for config paths instead ~/...
Diffstat (limited to '.config/vim/vimrc')
-rw-r--r--.config/vim/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index 3990fec..afa30b5 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -90,9 +90,9 @@ autocmd FileType man set nonumber nohlsearch nohlsearch
" its important that viminfo is set at the end
" some options seem to overwrite this (history..)
-set viminfo+=n~/.cache/vim/viminfo
-set dir=~/.cache/vim/swp/
-set runtimepath=~/.config/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
+set viminfo+=n$XDG_CACHE_HOME/vim/viminfo
+set dir=$XDG_CACHE_HOME/vim/swp/
+set runtimepath=$XDG_DATA_HOME/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
colorscheme tango
set background=light