X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/fef7b7c4499adc75aaa6fc077c68b216f2e250cb..6abf57e0f57f57983d91cc31bd7396cb20fa94fa:/base/.vimrc?ds=sidebyside diff --git a/base/.vimrc b/base/.vimrc index fb3c4d4..622e1af 100644 --- a/base/.vimrc +++ b/base/.vimrc @@ -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='