Use black hole register when emptying buffer

This commit is contained in:
Junegunn Choi 2014-04-15 02:01:47 +09:00
parent b7cf1ca65a
commit de81f95f69

View File

@ -296,7 +296,7 @@ function! s:prepare()
else
execute winnr . 'wincmd w'
endif
%d
silent %d _
else
vertical topleft new
nnoremap <silent> <buffer> q :if b:plug_preview==1<bar>pc<bar>endif<bar>q<cr>