mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-20 02:56:10 -07:00
Use black hole register when emptying buffer
This commit is contained in:
parent
b7cf1ca65a
commit
de81f95f69
2
plug.vim
2
plug.vim
@ -296,7 +296,7 @@ function! s:prepare()
|
|||||||
else
|
else
|
||||||
execute winnr . 'wincmd w'
|
execute winnr . 'wincmd w'
|
||||||
endif
|
endif
|
||||||
%d
|
silent %d _
|
||||||
else
|
else
|
||||||
vertical topleft new
|
vertical topleft new
|
||||||
nnoremap <silent> <buffer> q :if b:plug_preview==1<bar>pc<bar>endif<bar>q<cr>
|
nnoremap <silent> <buffer> q :if b:plug_preview==1<bar>pc<bar>endif<bar>q<cr>
|
||||||
|
Loading…
Reference in New Issue
Block a user