Permalink
Browse files

more consistent CommandT invocation

  • Loading branch information...
1 parent f592ac9 commit 4d6666c59f844d98581ddb5bf9c07f814b412059 @wting committed Jun 19, 2012
Showing with 7 additions and 5 deletions.
  1. +5 −3 .vimrc
  2. +1 −1 bundle/nerdcommenter
  3. +1 −1 bundle/syntastic
View
8 .vimrc
@@ -256,7 +256,7 @@ if has("folding")
endfunction
endif
-au BufWritePost ~/.vimrc source ~/.vimrc "auto-reload .vimrc after saving
+"au BufWritePost ~/.vimrc source ~/.vimrc "auto-reload .vimrc after saving
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Text, Tab and Indent Related
@@ -406,8 +406,10 @@ map Y y$
" Plugin Options
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"Command-T
-noremap <S-T> :CommandTFlush<CR> :CommandT<CR>
-let g:CommandTAcceptSelectionTabMap=['<CR>'] "change default behavior to open in new tab
+nnoremap <S-T> :exec 'CommandTFlush' <Bar> CommandT<CR>
+nnoremap <silent> <leader>t :CommandT<CR>
+nnoremap <silent> <leader>b :CommandTBuffer<CR>
+let g:CommandTAcceptSelectionTabMap = ['<CR>'] "change default behavior to open in new tab
"CSApprox
let g:CSApprox_verbose_level = 0
Submodule nerdcommenter updated from cb242a to baa453
Submodule syntastic updated from ec9bf2 to 1e94b9

0 comments on commit 4d6666c

Please sign in to comment.