4 # By Nicholas Marriott. Public domain.
7 # Some tweaks to the status line
8 set -g status-right "%H:%M"
9 set -g window-status-current-style "underscore"
11 # If running inside tmux ($TMUX is set), then change the status line to red
16 # Enable RGB colour if running in xterm(1)
17 set-option -sa terminal-features ",xterm*:RGB"
19 # Change the default $TERM to tmux-256color
20 set -g default-terminal "tmux-256color"
23 set -g bell-action none
25 # Keep windows around after they exit
26 set -g remain-on-exit on
28 # Change the prefix key to C-a
33 # Turn the mouse on, but without copy mode dragging
35 unbind -n MouseDrag1Pane
36 unbind -Tcopy-mode MouseDrag1Pane
38 # Some extra key bindings to select higher numbered windows
48 bind F10 selectw -t:19
49 bind F11 selectw -t:20
50 bind F12 selectw -t:21
52 # A key to toggle between smallest and largest sizes if a window is visible in
54 bind F set -w window-size
56 # Keys to toggle monitoring activity in a window and the synchronize-panes option
57 bind m set monitor-activity
58 bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'
60 # Create a single default session - because a session is created here, tmux
61 # should be started with "tmux attach" rather than "tmux new"
62 new -d -s0 -nirssi 'exec irssi'
63 set -t0:0 monitor-activity on
64 set -t0:0 aggressive-resize on
65 neww -d -ntodo 'exec emacs ~/TODO'
66 setw -t0:1 aggressive-resize on
67 neww -d -nmutt 'exec mutt'
68 setw -t0:2 aggressive-resize on