From 978d876805de675f13c383e3de186a1b8b7c20e4 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 2 Jan 2014 11:49:05 -0500 Subject: [PATCH] Setting bufhidden=hide in vimrc This is particularily valuable for various scripts that perform manipulation on buffers, as unloading a buffer not only requires saving, but discards modification history for undos. --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index 878b0dd..6eab235 100644 --- a/vimrc +++ b/vimrc @@ -28,6 +28,7 @@ set ai set autochdir set backspace=indent,eol,start set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp +set bufhidden=hide set directory=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp set et set exrc