]> git.sev.monster Git - dotfiles.git/blobdiff - base/.vimrc
vim: enable backupcopy
[dotfiles.git] / base / .vimrc
index fb3c4d40262169c9084c068a3276f78a06b2f3f6..622e1af3cf07c5f7a1ec814a1b30c6716a1448d0 100644 (file)
@@ -6,6 +6,7 @@ set modeline "!!!
 
 set backup
 set backupdir=$HOME/var/tmp/vim//
+set backupcopy=yes
 set undofile
 set undodir=$HOME/var/tmp/vim//
 
@@ -30,6 +31,10 @@ autocmd InsertEnter * setlocal norelativenumber
 autocmd InsertLeave * setlocal   relativenumber
 autocmd FocusLost   * setlocal norelativenumber
 autocmd FocusGained * setlocal   relativenumber
+highlight WhiteSpaceBol ctermfg=DarkBlue
+highlight WhiteSpaceMol ctermfg=Black
+match WhiteSpaceMol / /
+2match WhiteSpaceBol /\(^ \+\)\|\( \+$\)/
 
 let g:Modeliner_format='ft= fenc= et ts= sts= sw= tw='
 
This page took 0.049502 seconds and 4 git commands to generate.