Browse Source

Distiguish ! command

pull/73/head
gmarik 15 years ago
parent
commit
05501d3614
2 changed files with 3 additions and 2 deletions
  1. +2
    -2
      autoload/vundle/installer.vim
  2. +1
    -0
      autoload/vundle/scripts.vim

+ 2
- 2
autoload/vundle/installer.vim View File

@ -12,7 +12,7 @@ func! vundle#installer#new(bang, ...) abort
for l in range(1,len(names))
exec ":+1"
redraw!
exec ':norm i'
exec ':norm '.(a:bang ? 'I' : 'i')
sleep 1m
endfor
@ -27,7 +27,7 @@ func! s:display(headers, results)
exec g:vundle_view.'bd!'
endif
let results = map(a:results, ' printf("Bundle! ' ."'%s'".'", v:val) ')
let results = map(a:results, ' printf("Bundle ' ."'%s'".'", v:val) ')
silent pedit [Vundle] installer
wincmd P | wincmd H


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

@ -37,6 +37,7 @@ func! vundle#scripts#setup_view() abort
nnoremap <buffer> q :bd!<CR>
nnoremap <buffer> i :exec 'Install'.getline('.')<CR>
nnoremap <buffer> I :exec 'Install'.substitute(getline('.'), '^Bundle ', 'Bundle! ', '')<CR>
nnoremap <buffer> l :VundleLog<CR>


Loading…
Cancel
Save