Added Command-T with ,t mapping (although I prefer PeepOpen)
This commit is contained in:
parent
85633e826f
commit
77a6f1fb1c
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -109,3 +109,6 @@
|
|||||||
[submodule "vim/snippets"]
|
[submodule "vim/snippets"]
|
||||||
path = vim/snippets
|
path = vim/snippets
|
||||||
url = https://github.com/scrooloose/snipmate-snippets.git
|
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
|
||||||
|
1
vim/bundle/wincent-Command-T
Submodule
1
vim/bundle/wincent-Command-T
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit e9a861b34674608ffa70e26063674245cd4e0927
|
11
vimrc
11
vimrc
@ -237,10 +237,6 @@ imap <silent> <C-K> <%= %><Esc>3hi
|
|||||||
" create <%= foo %> erb tags using Ctrl-j in edit mode
|
" create <%= foo %> erb tags using Ctrl-j in edit mode
|
||||||
imap <silent> <C-J> <% %><Esc>2hi
|
imap <silent> <C-J> <% %><Esc>2hi
|
||||||
|
|
||||||
|
|
||||||
" hit \t to run current test
|
|
||||||
nmap <silent> <Leader>t :RunRubyFocusedContext<CR>
|
|
||||||
|
|
||||||
" set up automatic ctags
|
" set up automatic ctags
|
||||||
let Tlist_Ctags_Cmd='/opt/local/bin/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_enable_underbar_completion = 1
|
||||||
let g:neocomplcache_min_syntax_length = 5
|
let g:neocomplcache_min_syntax_length = 5
|
||||||
inoremap <expr><D-Space> pumvisible() ? "\<C-n>" : "\<TAB>"
|
inoremap <expr><D-Space> pumvisible() ? "\<C-n>" : "\<TAB>"
|
||||||
|
|
||||||
|
|
||||||
|
" Command-T
|
||||||
|
" Mapped to ,t
|
||||||
|
let g:CommandTMaxHeight = 5
|
||||||
|
let g:CommandTMatchWindowReverse = 1
|
||||||
|
nmap ,t :CommandT<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user