diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index 0666b4a..5800fc8 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -108,7 +108,7 @@ bind C-d if -F '#{session_many_attached}' \ 'display "Session has only 1 client attached"' -bind i display-message \; display-panes +bind i "set -g display-time $_tmux_display_panes_time \; display-message \; display-panes \; set -g display-time $_tmux_display_time" # Windows navigation diff --git a/home/user/.config/tmux/options.conf b/home/user/.config/tmux/options.conf index daf367a..d6c50e4 100644 --- a/home/user/.config/tmux/options.conf +++ b/home/user/.config/tmux/options.conf @@ -1,5 +1,8 @@ # vim: ft=tmux +_tmux_display_panes_time=4000 +_tmux_display_time=450 + set -s exit-unattached off # Server will not exit if no attached clients set -s exit-empty off # Server will not exit if no sessions @@ -17,7 +20,9 @@ set -g renumber-windows off # Off windows auto renumber set -g history-limit 100000 # Scroll back history setw -g aggressive-resize on # Resize windows on diff clients -set -g display-panes-time 4000 # Increase show pane time + +set -g display-time $_tmux_display_time +set -g display-panes-time $_tmux_display_panes_time set -g lock-command vlock # Shell command to lock client