Browse Source

Merge 5adaa6b3c4 into 8122fb1a96

pull/107/merge
GitHub Merge Button 14 years ago
parent
commit
5c8d908be3
2 changed files with 9 additions and 2 deletions
  1. +8
    -1
      autoload/vundle/installer.vim
  2. +1
    -1
      autoload/vundle/scripts.vim

+ 8
- 1
autoload/vundle/installer.vim View File

@ -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


+ 1
- 1
autoload/vundle/scripts.vim View File

@ -97,7 +97,7 @@ func! vundle#scripts#view(title, headers, results)
nnoremap <buffer> c :BundleClean<CR>
nnoremap <buffer> C :BundleClean!<CR>
nnoremap <buffer> s :BundleSearch
nnoremap <buffer> s :BundleSearch
nnoremap <buffer> R :call vundle#scripts#reload()<CR>
" goto first line after headers


Loading…
Cancel
Save