From c9c730f20a519c82043a311b50b1d05ab172ec66 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Thu, 3 Jul 2025 12:49:09 +0200 Subject: [PATCH] tmux: better layout switching --- config/tmux/tmux.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 2f9dc34..564c10e 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -59,14 +59,10 @@ bind -r > swap-window -d -t :+ bind -r < swap-window -d -t :- # Choosing layouts +bind -r C-y set main-pane-width 50% \; set main-pane-height 50% \; next-layout bind -r C-o rotate-window -D bind -r C-i rotate-window -U -bind -r space next-layout -bind C-m set main-pane-width 50% \; select-layout main-vertical -bind C-e select-layout even-horizontal -bind C-t select-layout tiled - # Copy mode bind -T copy-mode-vi v send-keys -X begin-selection bind -T copy-mode-vi y send-keys -X copy-selection