summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-02-26 15:44:03 +0100
committerben <benjaminfranzke@googlemail.com>2010-02-26 15:44:03 +0100
commit942c02712db05e89533123265d3d7a472a30fbf4 (patch)
tree013fbb1057677cb1b1f9be002a01279018b55d11 /.config
parent9fec653992c394414025321f8d21a2b86293f98d (diff)
downloaddotfiles-942c02712db05e89533123265d3d7a472a30fbf4.tar.gz
dotfiles-942c02712db05e89533123265d3d7a472a30fbf4.tar.bz2
dotfiles-942c02712db05e89533123265d3d7a472a30fbf4.zip
mv viminfo file to .cache/vim/
Diffstat (limited to '.config')
-rw-r--r--.config/vim/vimrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index 8c11680..a9488d5 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -1,4 +1,4 @@
-set dir=~/.cache/vim/swp/
+
colorscheme tango
set background=light
@@ -51,7 +51,7 @@ set ww=<,>,[,] " whichwrap -- left/right keys can traverse up/down
syntax on " enable syntax highlighting
" set templatepath .vim/plugin/templates.vim
-let g:templatePath = "/home/ben/.vim/templates"
+let g:templatePath = "~/.config/vim/templates"
" highlight redundant whitespaces and tabs.
"highlight RedundantSpaces ctermbg=red guibg=red
@@ -92,3 +92,7 @@ au BufRead,BufNewFile /tmp/bash-* let is_bash=1|setfiletype sh
" disable line numbers when using vim as manpager
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$HOME/.cache/vim/viminfo
+set dir=~/.cache/vim/swp/