Skip to content
Browse files

vim: Screw that, tests get easier mapping. 'F' makes sense for Comman…

…dT anyhow
  • Loading branch information...
1 parent 487db1c commit dd7410f1cee31acf99a0a51e63d5ffe56e32cf6f @ches committed Mar 18, 2013
Showing with 5 additions and 9 deletions.
  1. +5 −9 .vimrc
View
14 .vimrc
@@ -477,17 +477,12 @@ if has("autocmd")
" Tslime / Turbux combo for REPL interaction/running tests in tmux panes. No
" quickfix list, but nice when tests are out-of-process anyway like spin or
" spork. Note: Vimux is nice too, but I like tslime's window/pane control.
+ " To customize per-project at runtime:
+ " let g:turbux_command_rspec = 'spin push'
vmap <C-c><C-c> <Plug>SendSelectionToTmux
nmap <C-c><C-c> <Plug>NormalModeSendToTmux
nmap <C-c>r <Plug>SetTmuxVars
- " Mapping mnemonic: [u]nit test. I'm getting low on leader space :-/
- " To customize per-project at runtime:
- " let g:turbux_command_rspec = 'spin push'
- let g:no_turbux_mappings = 1
- map <leader>u <Plug>SendTestToTmux
- map <leader>U <Plug>SendFocusedTestToTmux
-
" Opt-in for fenced code block highlighting
let g:markdown_fenced_languages = [
\ 'coffee',
@@ -536,8 +531,9 @@ map <Leader>n :AckFromSearch!<CR>
" NERD tree - double-leader
map <Leader><Leader> :NERDTreeToggle<cr>
-" Command-T's <Leader>t default is good for files, but I use <Leader>b already
-map <Leader>f :CommandTBuffer<CR>
+" Mnemonic: [f]iles, with a shared key. I use <Leader>b for LustyJuggler.
+nnoremap <Leader>f :CommandT<CR>
+nnoremap <Leader>F :CommandTBuffer<CR>
" Ready for tab-completion of named Tabular patterns
" Choosing 'gq' since it's similar function to the format command

0 comments on commit dd7410f

Please sign in to comment.
Something went wrong with that request. Please try again.