From 23d047b76f8558bbb5a15770b6fcf10377787a47 Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 6 Aug 2011 00:36:09 -0500 Subject: [PATCH] :BundleClean now lists Bundles before removal --- autoload/vundle/installer.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 4b30163..a4b2655 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -75,6 +75,9 @@ func! vundle#installer#clean(bang) abort return end + call vundle#scripts#view('clean', ['"Remove those bundles?'], map(copy(x_dirs), 'fnamemodify(v:val, ":t")')) + redraw! + if (a:bang || input('Are you sure you want to remove '.len(x_dirs).' bundles? [ y/n ]:') =~? 'y') let cmd = (has('win32') || has('win64')) ? \ 'rmdir /S /Q' :