summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-12-14 14:31:49 -0500
committerBen Sima <ben@bsima.me>2020-12-14 14:31:49 -0500
commit1fa980d2fe7a2e016b7635d070d4ba3c5dc60394 (patch)
tree666c43503312c6343b3360e33090e644f6840d55
parentaee9a724631bb67c38da44931275a3d28a4c007e (diff)
tmux: easy resizing
-rw-r--r--lib/tmux10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/tmux b/lib/tmux
index d2ee082..d0067b3 100644
--- a/lib/tmux
+++ b/lib/tmux
@@ -27,11 +27,11 @@ bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
-# Use Alt-arrow keys without prefix key to switch panes
-bind -n M-Left select-pane -L
-bind -n M-Right select-pane -R
-bind -n M-Up select-pane -U
-bind -n M-Down select-pane -D
+# Use Alt-vim capitalized keys without prefix key to resize panes
+bind -n M-H resize-pane -L
+bind -n M-J resize-pane -D
+bind -n M-K resize-pane -U
+bind -n M-L resize-pane -R
# Shift arrow to switch windows
bind -n S-Left previous-window