dotfiles/home/user/.config/tmux/options.conf
2024-05-13 11:37:51 +03:00

36 lines
1.3 KiB
Plaintext

# vim: ft=tmux
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 mouse on # Enable mouse support
set -s escape-time 0 # Delay after escape
set -g repeat-time 0 # Disable multiple commands after prefix-key
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-panes-time 4000 # Increase show pane time
set -g lock-command vlock # Shell command to lock client
set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
set-hook -g after-new-window[101] 'rename-window -t 1 1'
set-hook -g after-new-session[101] 'rename-window -t 1 1'
set -ga update-environment 'DISPLAY'
set -ga update-environment 'WINDOWID'
set -ga update-environment 'XAUTHORITY'
set -ga update-environment 'SSH_CLIENT'
set -ga update-environment 'SSH_ASKPASS'
set -ga update-environment 'SSH_AUTH_SOCK'
set -ga update-environment 'SSH_AGENT_PID'
set -ga update-environment 'SSH_CONNECTION'
set -ga update-environment 'SSH_TTY'