diff --git a/roles/tmux/templates/tmux.conf.j2 b/roles/tmux/templates/tmux.conf.j2 index aa65e4f..0d1d631 100644 --- a/roles/tmux/templates/tmux.conf.j2 +++ b/roles/tmux/templates/tmux.conf.j2 @@ -40,5 +40,8 @@ set status-interval 2 set -g mouse on set -g history-limit 50000 +# Make tmux resize based on smallest client actually viewing the window, not just attached +setw -g aggressive-resize on + # Initialize tmux-plugin-manager run '~/.tmux/plugins/tpm/tpm'