I use vim/tmux daily and love the combination, in spite of the occasional quirks (Thanks, Thoughtbot for getting me going with tmux!).
I have multiple tmux windows, one for each sub-project, and each window has 1-3 panes. My top/largest pane is vim, and I have multiple vim windows arranged, usually showing the specific files for that sub-project that I normally work on; the currently-active file buffer automatically resizes when I move into it. All that works great as I have created a number of vim & tmux & shell shortcuts to assist.
One use case I have is that occasionally even my resized windows arenât big enough and I want to switch that one vim window to full-screen. I finally found a quick, easy way to do that; here it is in case anyone is looking for this [or maybe itâs just obvious and it took me a while to catch up :-].
When in the window you want to resize, just type:
:tabnew %
and that buffer is automatically opened as a new full-size tab. When youâre done with your edits, just type:
:wq
and the tab is closed and youâre back in your original window in that same window with all the updates.
Iâve remapped the zoom command to: ,,z
with my <
Leader>
so thatâs is easy to get to. Maybe this will help someone else.