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.org
parent
9ed85f341d
commit
978d876805
1
vimrc
1
vimrc
|
@ -28,6 +28,7 @@ set ai
|
||||||
set autochdir
|
set autochdir
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp
|
set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp
|
||||||
|
set bufhidden=hide
|
||||||
set directory=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp
|
set directory=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp
|
||||||
set et
|
set et
|
||||||
set exrc
|
set exrc
|
||||||
|
|
Loading…
Reference in New Issue