From 6dfbc1b97af69497872e392d999194d0d0c6bf64 Mon Sep 17 00:00:00 2001 From: Shaun Setlock Date: Mon, 20 Jan 2025 12:59:56 -0500 Subject: [PATCH] Updated tmux to have resize pane bindings. --- tmux/tmux.conf | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index b8e6471..379980b 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -2,6 +2,11 @@ # NAVIGATION ############ ### Helpful Arrow Key Navigation Changes +# Resize the current pane using Alt + direction +bind -n M-Up resize-pane -U 1 +bind -n M-Down resize-pane -D 1 +bind -n M-Left resize-pane -L 1 +bind -n M-Right resize-pane -R 1 # Use Alt-arrow keys without prefix key to move panes bind -n C-Left select-pane -L bind -n C-Right select-pane -R @@ -10,15 +15,6 @@ bind -n C-Down select-pane -D # Shift arrow to switch windows bind -n S-Left previous-window bind -n S-Right next-window -### Helpful VIM Navigation Changes (Conflicts with Arrows; Choose One) -# Vim style pane selection -#bind-key h select-pane -L -#bind-key j select-pane -D -#bind-key k select-pane -U -#bind-key l select-pane -R -# Shift Alt vim keys to switch windows -#bind -n M-H previous-window -#bind -n M-L next-window ########## # PLUG-INS