:set hidden and wipe unnamed buffer created with --remote-silent

This commit is contained in:
Josh Holtrop 2013-11-20 10:56:29 -05:00
parent fb085ba4ba
commit 8ad81ecf2b

4
vimrc
View File

@ -33,6 +33,10 @@ set showcmd
set background=dark
set showtabline=1
set cinoptions=:0,(0
set hidden
if bufname('%') == ''
set bufhidden=wipe
endif
runtime ftplugin/man.vim
nnoremap K :Man <cword><CR>