From 49f152de21c28f5530157976e237e8e594f3cc16 Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 30 Jul 2011 18:45:25 -0500 Subject: [PATCH] use keymap --- autoload/vundle/installer.vim | 2 +- autoload/vundle/scripts.vim | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 086168d..4e940d9 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 'Install'.getline('.') + exec ':norm i' sleep 1m endfor diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index 2b172ca..ae7bfdd 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -38,9 +38,10 @@ func! vundle#scripts#setup_view() abort nnoremap q :wincmd q nnoremap i :exec 'Install'.getline('.') - nnoremap r :Bundles + nnoremap c :BundleClean nnoremap C :BundleClean! + nnoremap r :Bundles nnoremap R :call vundle#scripts#reload() endf