commit 4a07143c0ee379925e4ba5134e126d8b963539d0
parent ee22d64f95fb543f2a3f32121300c43d853377b5
Author: Chris Noxz <chris@noxz.tech>
Date: Sun, 7 Jun 2020 10:38:46 +0200
[tmux] minor tweaks to copy-mode and statusbar
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf
@@ -92,7 +92,7 @@ bind -T prefix m run -b "fzf-move-to.tmux"
bind -T prefix C send-keys "C-c" \; \
send-keys "clear && tmux clear-history" \; \
send-keys "Enter"
-bind -T prefix / copy-mode
+bind -T prefix / copy-mode \; send-key ?
bind -T prefix H run "fzf-history.tmux"
@@ -102,6 +102,8 @@ unbind -T copy-mode WheelUpPane
unbind -T copy-mode WheelDownPane
unbind -T copy-mode-vi WheelUpPane
unbind -T copy-mode-vi WheelDownPane
+unbind -T prefix '`'
+bind -T prefix '`' copy-mode
bind -T root C-WheelUpPane \
if-shell -F -t = "#{mouse_any_flag}" \
"send-keys -M" \
@@ -173,7 +175,7 @@ set -g pane-active-border-style 'bg=colour0,fg=colour11'
set -g status-interval 5
set -g status-position top
set -g status-justify left
-set -g status-right-length 72
+set -g status-right-length 80
set -g status-style 'bg=colour0,fg=colour15'
set -g status-right-style 'bg=colour0,fg=colour15'
set -g status-right '#(/bin/hostname) #[ \
@@ -183,7 +185,7 @@ set -g status-right '#(/bin/hostname) #[ \
] #(status.tmux temp) #[ \
] #(status.tmux cpu) #[ \
] #(status.tmux mem) #[ \
- ] #(status.tmux pkg) #[ \
+ ] #(status.tmux pkg) #[ \
fg=colour5,bg=colour6,reverse]#[ \
fg=colour0,bg=colour6,noreverse \
] %Y-%m-%d %R #[ \