dotfiles/tmux.conf

38 lines
967 B
Plaintext
Raw Normal View History

2022-05-19 13:56:07 +00:00
# Misc/General
set -g allow-rename on
set -g pane-border-status bottom
set -g history-limit 100000
set -g renumber-windows on
set -g clock-mode-style 24
set -g status-interval 5
# Enable RGB colour if running in xterm(1)
set-option -sa terminal-overrides ",xterm*:Tc"
# Change the default $TERM to tmux-256color
set -g default-terminal "tmux-256color"
# Some extra key bindings to select higher numbered windows
bind F1 selectw -t:10
bind F2 selectw -t:11
bind F3 selectw -t:12
bind F4 selectw -t:13
bind F5 selectw -t:14
bind F6 selectw -t:15
bind F7 selectw -t:16
bind F8 selectw -t:17
bind F9 selectw -t:18
bind F10 selectw -t:19
bind F11 selectw -t:20
bind F12 selectw -t:21
# If running inside tmux ($TMUX is set), then change the status line to warn user
%if #{TMUX}
set -g status-bg yellow
%endif
# Status line/bar
set -g status-right " #{?client_prefix,#[reverse]<Prefix>#[noreverse] ,} %H:%M %Y-%m-%d"
set -g window-status-current-style "underscore"