commit 6c5c6d9b62be8e48785643cfbe61e961f99ffe81
parent 04807a858c1a5f456034559944108f7dd18276be
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sat, 22 Feb 2020 16:13:03 -0500
tmux: various
Former-commit-id: 7baaa98efb036fbfcbe8df077eaa934503b31026
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
@@ -14,8 +14,7 @@ set -g status-bg '#ffffff'
set -g status-fg white
set -g status-interval 5
set -g status-justify right
-set -g status-left '#[fg=#228822]» #[fg=#4477ff,bold]#T#[default]'
-set -g status-left-length 30
+set -g status-left '#[fg=#228822]» #[fg=#4477ff,bold]#T#{?pane_synchronized, #[fg=#cc5500#,bold][SYNC],}#[default]'
set -g status-right '#[fg=#4477ff,bold]»» ###S %R %m-%d#(acpi | cut -d ',' -f 2)#[default]'
set -g visual-activity on
set -g base-index 1 # start numbering windows at 1, easier to reach
@@ -39,6 +38,7 @@ setw -g pane-base-index 1 # start numbering panes at 1, easier to reach
unbind C-b # unbind default leader key
set -g prefix C-a
bind a send-prefix
+bind C-a send-prefix
# Reload the config file
unbind r
@@ -83,6 +83,8 @@ bind M-| select-layout "even-horizontal"
# Screen-like rename binding
unbind A
bind A command-prompt "rename-window %%"
+unbind M-a
+bind M-a command-prompt -I "#S" "rename-session -- '%%'"
# Watch/unwatch for activity
unbind !