Created
November 19, 2013 12:56
-
-
Save gabehollombe/7544954 to your computer and use it in GitHub Desktop.
Simple function to zoom Vimux's runner pane to fullscreen from Vim.
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 you use Vim, and tmux, you should be using Vimux: https://github.com/benmills/vimux | |
" This snippet will let you easily zoom Vimux's runner pane to fullscreen. | |
" It's really helpful for seeing more of a stack trace. | |
" Requires tmux >= 1.8 | |
" Function to tell Vimux to have make tmux zoom its runner pane. | |
function! VimuxZoomRunner() | |
call VimuxInspectRunner() | |
call system("tmux resize-pane -Z") | |
endfunction | |
" Use <Leader>vv to zoom Vimux's runner pane to fullscreen | |
nmap <Leader>vv :call VimuxZoomRunner()<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment