From db78ef6b899b31f2c71b5bb81081019f2c166b1f Mon Sep 17 00:00:00 2001 From: Dirk Wallenstein Date: Tue, 10 Jan 2012 16:57:08 +0100 Subject: [PATCH] Disable autocommands in the vundle view This will in particular omit the BufNewFile event with an inappropriate wildcard pattern. --- autoload/vundle/scripts.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index 324c281..219b015 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -42,7 +42,7 @@ func! vundle#scripts#view(title, headers, results) exec g:vundle_view.'bd!' endif - exec 'silent pedit [Vundle] '.a:title + exec 'noautocmd silent pedit [Vundle] '.a:title wincmd P | wincmd H