From de81f95f6998db87350d972bb817970151a470d4 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 15 Apr 2014 02:01:47 +0900 Subject: [PATCH] Use black hole register when emptying buffer --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index dea9aee..55e8d97 100644 --- a/plug.vim +++ b/plug.vim @@ -296,7 +296,7 @@ function! s:prepare() else execute winnr . 'wincmd w' endif - %d + silent %d _ else vertical topleft new nnoremap q :if b:plug_preview==1pcendifq