mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2025-01-08 08:17:35 +00:00
Add override to skip CommandT
This commit is contained in:
parent
9a7f73c0ec
commit
d4277050de
@ -19,8 +19,11 @@ Bundle 'a.vim'
|
|||||||
Bundle 'file-line'
|
Bundle 'file-line'
|
||||||
" Git integration
|
" Git integration
|
||||||
Bundle 'tpope/vim-fugitive'
|
Bundle 'tpope/vim-fugitive'
|
||||||
|
if ! exists('use_command_t')
|
||||||
|
let use_command_t = 1
|
||||||
|
end
|
||||||
" Needs Vim compiled with Ruby
|
" Needs Vim compiled with Ruby
|
||||||
if has('ruby')
|
if use_command_t == 1 && has('ruby')
|
||||||
" Quick find files in project
|
" Quick find files in project
|
||||||
Bundle 'wincent/Command-T'
|
Bundle 'wincent/Command-T'
|
||||||
else
|
else
|
||||||
@ -324,7 +327,7 @@ let g:tagbar_autofocus = 1
|
|||||||
|
|
||||||
" Dynamically use Command T or ctrlp.vim based on availability of Ruby.
|
" Dynamically use Command T or ctrlp.vim based on availability of Ruby.
|
||||||
" We do this because Command T is much faster than ctrlp.vim.
|
" 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
|
" Use Command T since we've got Ruby
|
||||||
|
|
||||||
" Set the default escape keybinding to, you guessed it, escape.
|
" Set the default escape keybinding to, you guessed it, escape.
|
||||||
|
Loading…
Reference in New Issue
Block a user