From 809902226e8e852858bef16e9045b570a1d8d035 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 24 Nov 2009 19:03:59 +0000 Subject: [PATCH] Sync. --- examples/n-marriott.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/examples/n-marriott.conf b/examples/n-marriott.conf index 43f7b2b3..6a047ec9 100644 --- a/examples/n-marriott.conf +++ b/examples/n-marriott.conf @@ -1,4 +1,4 @@ -# $Id: n-marriott.conf,v 1.10 2009-10-25 21:45:26 nicm Exp $ +# $Id: n-marriott.conf,v 1.11 2009-11-24 19:03:59 nicm Exp $ # # By Nicholas Marriott. Public domain. @@ -11,6 +11,7 @@ set -g lock-after-time 1800 # Default global window options. setw -g remain-on-exit on setw -g window-status-current-attr "underscore" +#setw -g xterm-keys on # Prefix key. set -g prefix C-a @@ -48,6 +49,10 @@ bind -n F4 run-shell 'mpc next >/dev/null 2>&1' bind -n F5 run-shell 'mpc volume -5 >/dev/null 2>&1' bind -n F6 run-shell 'mpc volume +5 >/dev/null 2>&1' +# Hide and show window name from status line +bind '-' setw window-status-format '#I'\; setw window-status-current-format '#I' +bind '+' setw window-status-format '#I:#W#F'\; setw window-status-current-format '#I:#W#F' + # First session. new -d -s0 -nirssi 'exec ssh -t natalya exec sh ~/bin/tmux-start' setw -t0:0 monitor-activity on @@ -69,6 +74,10 @@ neww -d neww -d neww -d neww -d +neww -d +neww -d +neww -d +neww -d # Second session. new -d -s1