diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 269f403..ce9db38 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -15,13 +15,13 @@ endf func! s:process(bang, cmd) let msg = '' - redraw! + redraw sleep 1m let lines = (getline('.','$')[0:-2]) for line in lines - redraw! + redraw exec ':norm '.a:cmd @@ -35,7 +35,7 @@ func! s:process(bang, cmd) setl nomodified endfor - redraw! + redraw echo 'Done! '.msg endf @@ -51,7 +51,7 @@ func! vundle#installer#run(func_name, name, ...) abort call s:sign(status) - redraw! + redraw if 'updated' == status echo n.' installed' @@ -118,7 +118,7 @@ endf func! vundle#installer#list(bang) abort let bundles = vundle#scripts#bundle_names(map(copy(g:bundles), 'v:val.name_spec')) call vundle#scripts#view('list', ['" My Bundles'], bundles) - redraw! + redraw echo len(g:bundles).' bundles configured' endf @@ -137,7 +137,7 @@ func! vundle#installer#clean(bang) abort end call vundle#scripts#view('clean', headers, names) - redraw! + redraw if (a:bang || empty(names) || input('Continue ? [ y/n ]:') =~? 'y') call s:process(a:bang, 'D') diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index 648bf19..658944b 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -9,13 +9,13 @@ func! vundle#scripts#all(bang, ...) let b:match = a:1 endif call vundle#scripts#view('search',info, vundle#scripts#bundle_names(reverse(matches))) - redraw! + redraw echo len(matches).' bundles found' endf func! vundle#scripts#reload() abort silent exec ':BundleSearch! '.(exists('b:match') ? b:match : '') - redraw! + redraw endf func! vundle#scripts#complete(a,c,d)