Commit | Line | Data |
---|---|---|
4d60a7ac MW |
1 | ### -*-conf-*- |
2 | ||
3 | ## pterm compatibility. The default settings for these cause tmux to send | |
4 | ## pterm some control sequences it doesn't understand, with ^G as a | |
5 | ## terminator, which results in annoying and unnecessary dinging. Since the | |
6 | ## problematic control sequences are only to do with frobbing the cursor | |
7 | ## shape anyway, just clobber them. | |
8 | set -g terminal-overrides "*:Cr=:Cs=:Ms=" | |
9 | set -ga terminal-overrides ",*88col*:colors=88,*256col*:colors=256" | |
10 | set -ga terminal-overrides ",xterm*:XT,screen*:XT" | |
11 | ||
12 | ## Sane key-bindings. I'm used to screen. Bite me. | |
13 | set -g prefix C-z | |
4d60a7ac MW |
14 | bind Tab select-pane -t.+1 |
15 | bind M-Tab select-pane -t.-1 | |
b5c7ff5a | 16 | bind C-c new-window |
f3d29dce | 17 | bind C-l refresh-client |
4d60a7ac MW |
18 | bind Q break-pane |
19 | bind S split-window | |
f3d29dce | 20 | bind X kill-pane |
b5c7ff5a | 21 | bind c new-window |
f3d29dce | 22 | bind k kill-window |
b5c7ff5a MW |
23 | bind z send C-z |
24 | bind C-z last-window |