use capital D to map delete cmd

- to avoid accidental removal
This commit is contained in:
gmarik 2011-08-22 18:56:42 -05:00
parent 17b4a11588
commit b571067525
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ func! vundle#installer#clean(bang) abort
redraw! redraw!
if (a:bang || empty(names) || input('Continue ? [ y/n ]:') =~? 'y') if (a:bang || empty(names) || input('Continue ? [ y/n ]:') =~? 'y')
call s:process(a:bang, 'd') call s:process(a:bang, 'D')
endif endif
endf endf

View File

@ -69,7 +69,7 @@ func! vundle#scripts#view(title, headers, results)
com! -buffer -nargs=0 VundleLog call s:view_log() com! -buffer -nargs=0 VundleLog call s:view_log()
nnoremap <buffer> q :silent bd!<CR> nnoremap <buffer> q :silent bd!<CR>
nnoremap <buffer> d :exec 'Delete'.getline('.')<CR> nnoremap <buffer> D :exec 'Delete'.getline('.')<CR>
nnoremap <buffer> i :exec 'Install'.getline('.')<CR> nnoremap <buffer> i :exec 'Install'.getline('.')<CR>
nnoremap <buffer> I :exec 'Install'.substitute(getline('.'), '^Bundle ', 'Bundle! ', '')<CR> nnoremap <buffer> I :exec 'Install'.substitute(getline('.'), '^Bundle ', 'Bundle! ', '')<CR>