style+ref(tmux): options

This commit is contained in:
thek4n 2024-05-21 13:33:52 +03:00
parent 0073a497af
commit 1f059c6dc7
2 changed files with 7 additions and 2 deletions

View File

@ -108,7 +108,7 @@ bind C-d if -F '#{session_many_attached}' \
'display "Session has only 1 client 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 # Windows navigation

View File

@ -1,5 +1,8 @@
# vim: ft=tmux # 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-unattached off # Server will not exit if no attached clients
set -s exit-empty off # Server will not exit if no sessions 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 set -g history-limit 100000 # Scroll back history
setw -g aggressive-resize on # Resize windows on diff clients 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 set -g lock-command vlock # Shell command to lock client