From 3524107556fc514f37a038623535989315c6ad7d Mon Sep 17 00:00:00 2001 From: Andrei Stoica Date: Sun, 28 Jan 2024 03:25:15 -0500 Subject: [PATCH] tmux rezise pane --- .tmux.conf##os.Linux,hostname.tower | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.tmux.conf##os.Linux,hostname.tower b/.tmux.conf##os.Linux,hostname.tower index 5a28250..14a12bc 100644 --- a/.tmux.conf##os.Linux,hostname.tower +++ b/.tmux.conf##os.Linux,hostname.tower @@ -42,10 +42,16 @@ set-window-option -g pane-base-index 1 set-option -g renumber-windows on # navigation -bind-key 'j' select-pane -D -bind-key 'k' select-pane -U -bind-key 'l' select-pane -R -bind-key 'h' select-pane -L +bind-key -r j select-pane -D +bind-key -r k select-pane -U +bind-key -r l select-pane -R +bind-key -r h select-pane -L + +# resize +bind-key -r -T prefix M-k resize-pane -U +bind-key -r -T prefix M-j resize-pane -D +bind-key -r -T prefix M-h resize-pane -L +bind-key -r -T prefix M-l resize-pane -R bind -n S-Left previous-window bind -n S-Right next-window