diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index ce9db38..5fb371e 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -139,8 +139,15 @@ func! vundle#installer#clean(bang) abort call vundle#scripts#view('clean', headers, names) redraw - if (a:bang || empty(names) || input('Continue ? [ y/n ]:') =~? 'y') + if (a:bang || empty(names)) call s:process(a:bang, 'D') + else + call inputsave() + let response = input('Continue? [Y/n]: ') + call inputrestore() + if (response =~? 'y' || response == '') + call s:process(a:bang, 'D') + endif endif endf diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index 54fdac4..e814b85 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -97,7 +97,7 @@ func! vundle#scripts#view(title, headers, results) nnoremap c :BundleClean nnoremap C :BundleClean! - nnoremap s :BundleSearch + nnoremap s :BundleSearch nnoremap R :call vundle#scripts#reload() " goto first line after headers