aboutsummaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
blob: 7f5528e222a88a9e371044b66b4b8c3267bd52fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
setw -g mouse on
set-option -ga terminal-overrides ",foot:Tc"
set-option -ga terminal-overrides ",xterm-256color:Tc"
setw -g mode-keys vi
set -g history-limit 10000
set -sg escape-time 50

set -g status-interval 30
set -g status-style "bg=black,fg=white"
setw -g window-status-current-style "fg=white,bg=blue,bright"
set -g status-position bottom

# status-right
set -g status-right-length 100
set -g status-right "#{user}@#{host} | #(date -d now '+%a/%b/%Y %R') "

set -g set-titles on
set -g set-titles-string "#{window_name} #{user}@#{host_short}"
set -g base-index 1

bind-key b set-option status
set -g lock-command vlock
bind L lock-session
bind R 'source-file ~/.config/tmux/tmux.conf; display-message "source-file done"'