From 33570901faa884db343b324fe253eabfaec04ed9 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Sat, 3 Feb 2024 09:16:18 -0800 Subject: [PATCH 1/2] Add tmux config. I've carried it around for years. --- private_dot_config/tmux/tmux.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 private_dot_config/tmux/tmux.conf diff --git a/private_dot_config/tmux/tmux.conf b/private_dot_config/tmux/tmux.conf new file mode 100644 index 0000000..cd88653 --- /dev/null +++ b/private_dot_config/tmux/tmux.conf @@ -0,0 +1,18 @@ +bind-key h select-pane -L +bind-key j select-pane -D +bind-key k select-pane -U +bind-key l select-pane -R + +# nested tmux, obey me +bind-key a send-prefix + +# Avoid the annoying bit of delay when using the control character +set -g escape-time 0 +set -g renumber-windows on + +# bind Ctrl-k to clearing history +bind-key c clear-history + +# Show a visual bell, even on other windows +set-window-option -g visual-bell both +set-window-option -g bell-action other From bfb93522b7f642908e690b970a2760535652e24c Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 20 Mar 2024 10:23:10 -0700 Subject: [PATCH 2/2] Update newer XDG_CONFIG/tmux.conf to be like ~/.tmux.conf I should eventually remove the older ~/.tmux.conf, but until all my systems are on the latest tmux I have to sync like this. --- private_dot_config/tmux/tmux.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/private_dot_config/tmux/tmux.conf b/private_dot_config/tmux/tmux.conf index cd88653..0e73b09 100644 --- a/private_dot_config/tmux/tmux.conf +++ b/private_dot_config/tmux/tmux.conf @@ -1,3 +1,5 @@ +set-option -g default-shell /usr/bin/fish + bind-key h select-pane -L bind-key j select-pane -D bind-key k select-pane -U @@ -10,9 +12,10 @@ bind-key a send-prefix set -g escape-time 0 set -g renumber-windows on -# bind Ctrl-k to clearing history -bind-key c clear-history - # Show a visual bell, even on other windows set-window-option -g visual-bell both set-window-option -g bell-action other + +# Set up the window visuals +set -g window-status-style bg=yellow +set -g window-status-current-style bg=red,fg=white