Use alt-underscore to monitor a pane for silence.
[profile.git] / .tmux.conf
index dcd460b..8e27609 100644 (file)
@@ -37,6 +37,7 @@ bind C-[ copy-mode
 bind ] paste-buffer
 bind C-] paste-buffer
 bind _ setw monitor-activity
+bind M-_ setw monitor-silence 10
 bind * list-clients
 bind < command-prompt -p "Load buffer from file:" 'load-buffer %1'
 bind > command-prompt -p "Save buffer to file:" 'save-buffer %1'
@@ -93,11 +94,16 @@ bind -r C-M-j resize-pane -D
 bind -r C-M-k resize-pane -U
 bind -r C-M-l resize-pane -R
 # Layouts.
-bind . select-layout even-vertical
-bind , select-layout tiled
-bind -r Space next-layout
+bind , select-layout even-vertical
+bind . select-layout even-horizontal
+bind / select-layout tiled
+bind M-, select-layout main-vertical
+bind M-. select-layout main-horizontal
+bind Space next-layout
+bind -r C-Space next-layout
 # Simulate maximising the window.
-bind / select-layout even-vertical \; swap-pane -s top \; resize-pane -D 9999
+bind / select-layout main-horizontal \; resize-pane -D 9999
+bind M-/ select-layout tiled
 # Select windows.
 bind - choose-window
 bind M-0 select-window -t 10
@@ -161,6 +167,8 @@ set -g display-panes-colour colour17
 # Command entry.
 set -g message-bg colour90
 set -g message-fg white
+set -g message-command-bg colour88
+set -g message-command-fg white
 # Active pane
 set -g pane-active-border-bg default
 set -g pane-active-border-fg white
@@ -173,6 +181,14 @@ setw -g mode-fg white
 # Monitored windows (in reverse video).
 setw -g window-status-alert-bg red
 setw -g window-status-alert-fg white
+# As of tmux 1.6 we can highlight different alerts.
+setw -g window-status-bell-bg colour22
+setw -g window-status-bell-fg white
+setw -g window-status-content-bg colour88
+setw -g window-status-content-fg white
+setw -g window-status-content-attr none
+setw -g window-status-activity-bg red
+setw -g window-status-activity-fg white
 
 ################################################################################
 # Caption settings.