use capital D to map delete cmd
- to avoid accidental removal
This commit is contained in:
parent
17b4a11588
commit
b571067525
@ -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
|
||||
|
||||
|
@ -69,7 +69,7 @@ func! vundle#scripts#view(title, headers, results)
|
||||
com! -buffer -nargs=0 VundleLog call s:view_log()
|
||||
|
||||
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'.substitute(getline('.'), '^Bundle ', 'Bundle! ', '')<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user