~kota/dots

ref: a7ada60ead5ed7b782b60df398743c509c6482c1 dots/tmux/.tmux.conf -rw-r--r-- 1.2 KiB
a7ada60eDakota Walsh ncmpcpp tweak 8 months 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# quick reload config
bind r source-file ~/.tmux.conf

# alt + a prefix
unbind C-b
set-option -g prefix M-Space
bind-key M-Space send-prefix

# better splits binds
bind h split-window -h
bind v split-window -v
unbind '"'
unbind %

# switch panes using Alt-hjkl without prefix
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind -n M-k select-pane -U
bind -n M-j select-pane -D

# enable mouse mode (tmux 2.1 and above)
set -g mouse on

# don't rename windows automatically
set-option -g allow-rename off

# loud or quiet?
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none

# address vim mode switching delay (http://superuser.com/a/252717/65504)
set -s escape-time 0

# increase scrollback buffer size
set -g history-limit 50000

# tmux messages are displayed for 4 seconds
set -g display-time 4000

# refresh 'status-left' and 'status-right' more often
set -g status-interval 5

# statusbar
set -g status-position top
set -g status-justify left
set -g status-style 'bg=colour0 fg=colour7 dim'
set -g status-left ''
set -g status-right ' %H:%M '
set -g status-right-length 50
set -g status-left-length 20