summaryrefslogtreecommitdiff
path: root/.config/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/vim/vimrc')
-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