From b571067525a83432911ba0a321c0e8dc1930be17 Mon Sep 17 00:00:00 2001 From: gmarik Date: Mon, 22 Aug 2011 18:56:42 -0500 Subject: [PATCH] use capital D to map delete cmd - to avoid accidental removal --- autoload/vundle/installer.vim | 2 +- autoload/vundle/scripts.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 6cd4633..7f84fb5 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -133,7 +133,7 @@ func! vundle#installer#clean(bang) abort redraw! if (a:bang || empty(names) || input('Continue ? [ y/n ]:') =~? 'y') - call s:process(a:bang, 'd') + call s:process(a:bang, 'D') endif endf diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index 3f603d4..e856299 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -69,7 +69,7 @@ func! vundle#scripts#view(title, headers, results) com! -buffer -nargs=0 VundleLog call s:view_log() nnoremap q :silent bd! - nnoremap d :exec 'Delete'.getline('.') + nnoremap D :exec 'Delete'.getline('.') nnoremap i :exec 'Install'.getline('.') nnoremap I :exec 'Install'.substitute(getline('.'), '^Bundle ', 'Bundle! ', '')