This will bind prefix + M
to maximize a pane only vertically
iTerm2.-.1.zsh.mp4
-
Add plugin to the list of TPM plugins in
.tmux.conf
:set -g @plugin 'tomskopek/tmux-maximize-vertically'
-
Hit
prefix + I
to fetch the plugin and source it. That's it!
- Clone the repo:
$ git clone https://github.com/tomskopek/tmux-maximize-vertically ~/clone/path
- Add this line to the bottom of
.tmux.conf
:
run-shell ~/clone/path/maximize-vertically.tmux
- Reload TMUX environment with
$ tmux source-file ~/.tmux.conf
. That's it!