aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vim/.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 742969d..06570ec 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -21,6 +21,9 @@ set nocompatible
" paste without auto indentation
set paste
+" hide buffers, not close them
+set hidden
+
" maintain undo history between sessions
set undofile
set undodir=~/.vim/undo