From 6ebf8ab59de83ede50277a80f5f7361be175ffcd Mon Sep 17 00:00:00 2001 From: jdreichmann Date: Wed, 29 May 2019 20:13:17 +0200 Subject: [PATCH] tmux: Resize aggressively, based on clients actually viewing, not just attached --- roles/tmux/templates/tmux.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) 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'