Updated tmux to have resize pane bindings.

This commit is contained in:
Shaun Setlock
2025-01-20 12:59:56 -05:00
parent 9d30cd5d12
commit 6dfbc1b97a

View File

@@ -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