dotfiles/home/user/.config/tmux/options.conf
2024-05-22 11:15:35 +03:00

42 lines
1.3 KiB
Plaintext

# 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
set -g detach-on-destroy off
set -g mouse on # Enable mouse support
set -s escape-time 0 # Delay after escape
set -g repeat-time 400
set -g base-index 1 # Window numbering starts at 1
set -g pane-base-index 1 # Pane numbering starts at 1
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-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 default-terminal "tmux-256color"
set -g terminal-overrides[101] "tmux-256color:Tc"
set-hook -g after-new-session[101] 'rename-window -t 1 1'
set -g update-environment[101] 'DISPLAY'
set -g update-environment[102] 'WINDOWID'
set -g update-environment[103] 'XAUTHORITY'
set -g update-environment[104] 'SSH_CLIENT'
set -g update-environment[105] 'SSH_ASKPASS'
set -g update-environment[106] 'SSH_AUTH_SOCK'
set -g update-environment[107] 'SSH_AGENT_PID'
set -g update-environment[108] 'SSH_CONNECTION'
set -g update-environment[109] 'SSH_TTY'