goto first line when viewing result

This commit is contained in:
gmarik 2011-08-06 02:38:19 -05:00
parent 4218a57934
commit 45e9e7091b
2 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,6 @@ func! vundle#installer#new(bang, ...) abort
let names = map(copy(bundles), 'v:val.name_spec') let names = map(copy(bundles), 'v:val.name_spec')
call vundle#scripts#view('Installer',['" Installing'], names) call vundle#scripts#view('Installer',['" Installing'], names)
exec ":1"
redraw! redraw!
sleep 1m sleep 1m

View File

@ -68,6 +68,7 @@ func! vundle#scripts#view(title, headers, results)
setl ft=vundle setl ft=vundle
call vundle#scripts#setup_view() call vundle#scripts#setup_view()
exec ':1'
endf endf
func! s:fetch_scripts(to) func! s:fetch_scripts(to)