From 45e9e7091bd12e47bcc8c1e6e0405a32895a60ff Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 6 Aug 2011 02:38:19 -0500 Subject: [PATCH] goto first line when viewing result --- autoload/vundle/installer.vim | 1 - autoload/vundle/scripts.vim | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 4ab088b..9d2aed3 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -6,7 +6,6 @@ func! vundle#installer#new(bang, ...) abort let names = map(copy(bundles), 'v:val.name_spec') call vundle#scripts#view('Installer',['" Installing'], names) - exec ":1" redraw! sleep 1m diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index cb95b2f..2bd6d7e 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -68,6 +68,7 @@ func! vundle#scripts#view(title, headers, results) setl ft=vundle call vundle#scripts#setup_view() + exec ':1' endf func! s:fetch_scripts(to)