diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index dbbd2e7..c686987 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -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 diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index a1c725f..6f6f896 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -37,6 +37,7 @@ func! vundle#scripts#setup_view() abort nnoremap q :bd! nnoremap i :exec 'Install'.getline('.') + nnoremap I :exec 'Install'.substitute(getline('.'), '^Bundle ', 'Bundle! ', '') nnoremap l :VundleLog