From 22ce73edb8ff51e994a347fc422b8da725ffa63b Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Fri, 11 Mar 2022 00:32:55 -0500 Subject: [PATCH] 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. --- .tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index f2d5fdc..e558e38 100644 --- 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 -- libgit2 1.1.1