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:
4
.vimrc
4
.vimrc
@@ -183,6 +183,10 @@ set smartcase
|
||||
" reload file when changes happen in other editors
|
||||
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
|
||||
if &term == "xterm" || &term == "xterm-256color" || &term == "screen-bce" || &term == "screen-256color" || &term == "screen"
|
||||
set t_Co=256
|
||||
|
||||
Reference in New Issue
Block a user