about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.tmux.conf23
1 files changed, 18 insertions, 5 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 158b6ba..2b675e2 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -9,12 +9,25 @@ set-option -g default-terminal "screen-256color"
 
 set -g bell-action current
 
-bind-key . source-file ~/.tmux.conf
+bind-key . source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
+
+bind-key -n M-h select-pane -L
+bind-key -n M-j select-pane -D
+bind-key -n M-k select-pane -U
+bind-key -n M-l select-pane -R
+
+# Fine adjustment (1 or 2 cursor cells per bump)
+bind -n S-Left resize-pane -L 2
+bind -n S-Right resize-pane -R 2
+bind -n S-Down resize-pane -D 1
+bind -n S-Up resize-pane -U 1
+
+# Coarse adjustment (5 or 10 cursor cells per bump)
+bind -n C-Left resize-pane -L 10
+bind -n C-Right resize-pane -R 10
+bind -n C-Down resize-pane -D 5
+bind -n C-Up resize-pane -U 5
 
-bind-key -n C-h select-pane -L
-bind-key -n C-j select-pane -D
-bind-key -n C-k select-pane -U
-bind-key -n C-l select-pane -R
 
 set -g status-bg black
 set -g status-fg white