+### -*-conf-*-
+
+## pterm compatibility. The default settings for these cause tmux to send
+## pterm some control sequences it doesn't understand, with ^G as a
+## terminator, which results in annoying and unnecessary dinging. Since the
+## problematic control sequences are only to do with frobbing the cursor
+## shape anyway, just clobber them.
+set -g terminal-overrides "*:Cr=:Cs=:Ms="
+set -ga terminal-overrides ",*88col*:colors=88,*256col*:colors=256"
+set -ga terminal-overrides ",xterm*:XT,screen*:XT"
+
+## Sane key-bindings. I'm used to screen. Bite me.
+set -g prefix C-z
+bind z send C-z
+bind C-z last-window
+bind c new-window
+bind C-c new-window
+bind Tab select-pane -t.+1
+bind M-Tab select-pane -t.-1
+bind Q break-pane
+bind S split-window