summaryrefslogtreecommitdiff
path: root/.config/vim
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2015-04-10 20:21:44 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2015-04-10 20:21:44 +0200
commit467303d50f83bd9926ce03a742ce06e52d99be2b (patch)
tree1e4e8024e894cf94b3792c554178b0ce0976903c /.config/vim
parentd0ca994248831aa3540c6a41d054c33a04c95339 (diff)
downloaddotfiles-467303d50f83bd9926ce03a742ce06e52d99be2b.tar.gz
dotfiles-467303d50f83bd9926ce03a742ce06e52d99be2b.tar.bz2
dotfiles-467303d50f83bd9926ce03a742ce06e52d99be2b.zip
Remove XDG_ variables
We should not set them on our own
Diffstat (limited to '.config/vim')
-rw-r--r--.config/vim/vimrc7
1 files changed, 2 insertions, 5 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index 47e1781..7498636 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -6,7 +6,7 @@
"end
set dir=/home/ben/.cache/vim/swp/
-set runtimepath=$XDG_CONFIG_HOME/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
+set runtimepath=$HOME/.config/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
runtime bundle/vim-pathogen/autoload/pathogen.vim
" basics
@@ -139,7 +139,7 @@ autocmd FileType man set nonumber nohlsearch nohlsearch
autocmd FileType tex colorscheme delek
"autocmd FileType asciidoc colorscheme inkpot
-set spellfile=$XDG_CONFIG_HOME/vim/spell/spell.de.add,$XDG_CONFIG_HOME/vim/spell/spell.en.add
+set spellfile=$HOME/.config/vim/spell/spell.de.add,$HOME/vim/spell/spell.en.add
highlight ExtraWhitespace ctermbg=red guibg=red
@@ -169,7 +169,4 @@ set t_vb=
"
" its important that viminfo is set at the end
" some options seem to overwrite this (history..)
-"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
set viminfo+=n/home/ben/.cache/vim/viminfo