Skip to content

Instantly share code, notes, and snippets.

@gabehollombe
Created November 19, 2013 12:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabehollombe/7544954 to your computer and use it in GitHub Desktop.
Save gabehollombe/7544954 to your computer and use it in GitHub Desktop.
Simple function to zoom Vimux's runner pane to fullscreen from Vim.
" 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