Created
August 3, 2012 15:24
-
-
Save stengland/3248621 to your computer and use it in GitHub Desktop.
My Vimux/Turbux set up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if exists('$TMUX') | |
" Prompt for a command to run | |
map <Leader>vp :VimuxPromptCommand<CR> | |
" Run last command executed by VimuxRunCommand | |
map <Leader>vl :VimuxRunLastCommand<CR> | |
" Inspect runner pane | |
map <Leader>vi :VimuxInspectRunner<CR> | |
" Close all other tmux panes in current window | |
map <Leader>vx :VimuxClosePanes<CR> | |
" Close vim tmux runner opened by VimuxRunCommand | |
map <Leader>vq :VimuxCloseRunner<CR> | |
" Interrupt any command running in the runner pane | |
map <Leader>vs :VimuxInterruptRunner<CR> | |
endif | |
" Alternate for minitest | |
autocmd User Rails/app/**/*.rb let b:rails_alternate = 'test/' . rails#buffer().name()[4:-4] . '_test.rb' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment