| 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 |
| 14 | bind Tab select-pane -t.+1 |
| 15 | bind M-Tab select-pane -t.-1 |
| 16 | bind C-c new-window |
| 17 | bind C-l refresh-client |
| 18 | bind Q break-pane |
| 19 | bind S split-window |
| 20 | bind X kill-pane |
| 21 | bind c new-window |
| 22 | bind k kill-window |
| 23 | bind z send C-z |
| 24 | bind C-z last-window |