From: Samir Benmendil Date: Mon, 15 May 2017 10:03:45 +0000 (+0100) Subject: vim: don't save/restore views all the time X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/a447b56858a0f8b9525a0db7eec7d35609738c33 vim: don't save/restore views all the time This has started to be problematic, I believe vim may have changed what is being saved in views and now includes fold levels or something. --- diff --git a/vim/vimrc b/vim/vimrc index 61384fe..5a31115 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -491,9 +491,6 @@ nnoremap za " create folds around visual selection vnoremap zf -autocmd BufWinLeave *.* mkview -autocmd BufWinEnter *.* silent loadview - " save with sudo cabbrev w!! w !sudo tee % > /dev/null