1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Hide buffers instead of closing them

This commit is contained in:
2015-08-24 16:18:49 +02:00
parent c4e80adf8a
commit 6bfcfb8f89

4
.vimrc
View File

@@ -183,6 +183,10 @@ set smartcase
" reload file when changes happen in other editors " reload file when changes happen in other editors
set autoread set autoread
" hide buffers instead of closing them (so no saving is needed and undo and
" marks are preserved)
set hidden
" 2008-04-14 with the if-statement added at 2008-11-19 " 2008-04-14 with the if-statement added at 2008-11-19
if &term == "xterm" || &term == "xterm-256color" || &term == "screen-bce" || &term == "screen-256color" || &term == "screen" if &term == "xterm" || &term == "xterm-256color" || &term == "screen-bce" || &term == "screen-256color" || &term == "screen"
set t_Co=256 set t_Co=256