~charles/dotfiles

dotfiles/overlay.full/.tmux.conf -rw-r--r-- 907 bytes
171c95a2Charles Daniels ztag: include tags in output 3 days ago
                                                                                
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
26
27
28
29
# remap prefix to grave
unbind-key C-b
set -g prefix `
bind-key ` send-prefix

# uncomment to force 256color mode
# set -g default-terminal "screen-256color"

# longer scrollback
set-option -g history-limit 20000

# enable scrollwheel
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
bind -n WheelDownPane select-pane -t= \; send-keys -M

# status bar configuration

# show clock in the bottom right
set -g status-right '%m-%d %H:%M:%S '

set -g mouse on

# Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size of any
# client connected to *that window*. Much more reasonable.
setw -g aggressive-resize on

# Don't delay escape, because that's something that is done for some reason
set -sg escape-time 0