summaryrefslogtreecommitdiffstats
path: root/tmux.conf
blob: fdfdb5ed8841ddf1060ef94dbcfeeaa6cba17a2b (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# bells in any window get sent to the terminal
set  -g bell-action   any

# lots of scrollback
set  -g history-limit 4096

# use ^A rather than ^B for the prefix key
set  -g prefix        ^A

# hide the statusbar by default
set  -g status        off

# display window titles
set  -g set-titles    on

# use vi keybindings
setw -g mode-keys     vi
set  -g status-keys   vi

# use utf8
setw -g utf8          on
set  -g status-utf8   on

# colors
setw -g mode-bg       cyan
set  -g status-bg     blue
set  -g status-fg     green
set  -g message-bg    green

# keybindings
bind  a send-prefix
bind  A command-prompt "rename-window %%"
bind ^A choose-window
bind ^C new-window
bind ^D detach-client
bind  h command-prompt "new-window 'exec man %%'"
bind ^S set status

unbind ^B
unbind w