commit 22ce73edb8ff51e994a347fc422b8da725ffa63b (patch)
parent 3f95f9992fd14f0dfa8624bd0ef8d43e959f3b04
Author: Alex Karle <alex@alexkarle.com>
Date: Fri, 11 Mar 2022 00:32:55 -0500
tmux: Add keybinds to change pane color
I was mucking around in sam(1) today and I really like that the
command window is blue... this patch lets me manually change a
shell (or other) pane to be blue for a dash of color.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -45,6 +45,10 @@ bind-key | split-window -c "#{pane_current_path}" -h
bind-key - split-window -c "#{pane_current_path}" -v
bind-key c new-window -c "#{pane_current_path}"
+# Allow coloring panes like sam(1)
+bind-key B set-option -p window-style bg=#EAFFFF,fg=#000000
+bind-key Y set-option -p window-style bg=#FFFFEB,fg=#000000
+
# Start numbers at 1 (like the keyboard), and reorder on close
set-option -g base-index 1
set-option -g renumber-windows on