From 77a6f1fb1ce27bc8aeff68b53d11a605f0de10a4 Mon Sep 17 00:00:00 2001 From: yan Date: Thu, 8 Dec 2011 02:13:43 -0800 Subject: [PATCH] Added Command-T with ,t mapping (although I prefer PeepOpen) --- .gitmodules | 3 +++ vim/bundle/wincent-Command-T | 1 + vimrc | 11 +++++++---- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 160000 vim/bundle/wincent-Command-T diff --git a/.gitmodules b/.gitmodules index 05b56a2b..d806c06d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -109,3 +109,6 @@ [submodule "vim/snippets"] path = vim/snippets url = https://github.com/scrooloose/snipmate-snippets.git +[submodule "vim/bundle/wincent-Command-T"] + path = vim/bundle/wincent-Command-T + url = https://github.com/wincent/Command-T diff --git a/vim/bundle/wincent-Command-T b/vim/bundle/wincent-Command-T new file mode 160000 index 00000000..e9a861b3 --- /dev/null +++ b/vim/bundle/wincent-Command-T @@ -0,0 +1 @@ +Subproject commit e9a861b34674608ffa70e26063674245cd4e0927 diff --git a/vimrc b/vimrc index de9a147a..2ff4adcf 100644 --- a/vimrc +++ b/vimrc @@ -237,10 +237,6 @@ imap <%= %>3hi " create <%= foo %> erb tags using Ctrl-j in edit mode imap <% %>2hi - -" hit \t to run current test -nmap t :RunRubyFocusedContext - " set up automatic ctags let Tlist_Ctags_Cmd='/opt/local/bin/ctags' @@ -414,3 +410,10 @@ let g:neocomplcache_enable_camel_case_completion = 1 let g:neocomplcache_enable_underbar_completion = 1 let g:neocomplcache_min_syntax_length = 5 inoremap pumvisible() ? "\" : "\" + + +" Command-T +" Mapped to ,t +let g:CommandTMaxHeight = 5 +let g:CommandTMatchWindowReverse = 1 +nmap ,t :CommandT