commit 3fa6b87d1dd8ac0a864008cbb3b643143e19e524 parent f5adde28a4af43a27b53ab0b4b85a3b66d229f69 Author: Anders Damsgaard <andersd@riseup.net> Date: Mon, 26 Mar 2018 10:26:08 -0400 Resize tmux status when new window is created with C-a <enter> Diffstat:
M | links/.tmux.conf | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/links/.tmux.conf b/links/.tmux.conf @@ -173,9 +173,9 @@ bind-key -n C-M-w new-window -n weather \ # Open new window and resize status accordingly (should be a hook instead) #bind-key Enter new-window -#bind-key Enter new-window \ - #"tmux set status-right-length `echo $(tput cols)/2|bc|tr -d '\n'`; zsh" -bind-key Enter new-window "$SHELL" +bind-key Enter new-window \ + "tmux set status-right-length `echo $(tput cols)/2|bc|tr -d '\n'`; zsh" +#bind-key Enter new-window "$SHELL" bind-key -n M-Enter new-window "$SHELL" # Use nested bindings (<C-a>m) for grouping music-control bindings