From d4277050ded60166d5e1fb41b21228394a13d984 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Thu, 6 Mar 2014 09:31:55 -0800 Subject: [PATCH] Add override to skip CommandT --- vim/dot_vimrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vim/dot_vimrc b/vim/dot_vimrc index aea6532..8c07afc 100644 --- a/vim/dot_vimrc +++ b/vim/dot_vimrc @@ -19,8 +19,11 @@ Bundle 'a.vim' Bundle 'file-line' " Git integration Bundle 'tpope/vim-fugitive' +if ! exists('use_command_t') + let use_command_t = 1 +end " Needs Vim compiled with Ruby -if has('ruby') +if use_command_t == 1 && has('ruby') " Quick find files in project Bundle 'wincent/Command-T' else @@ -324,7 +327,7 @@ let g:tagbar_autofocus = 1 " Dynamically use Command T or ctrlp.vim based on availability of Ruby. " We do this because Command T is much faster than ctrlp.vim. -if has('ruby') +if use_command_t == 1 && has('ruby') " Use Command T since we've got Ruby " Set the default escape keybinding to, you guessed it, escape.