summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-04 18:26:29 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-04 18:26:29 +0000
commit70c418c048637dd8b1211d6b2dc25ff32f485268 (patch)
tree74bc70c0cb4f02acaeb281d0e6eb60a290397566 /examples
parent0f95671fe3628671ddc43a960bd69f867799d00a (diff)
+ comments.
Diffstat (limited to 'examples')
-rw-r--r--examples/n-marriott.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/n-marriott.conf b/examples/n-marriott.conf
index 712746d7..cfd22c57 100644
--- a/examples/n-marriott.conf
+++ b/examples/n-marriott.conf
@@ -1,11 +1,14 @@
+# Default global options.
set status-bg green
set default-command "exec /bin/ksh -l"
set bell-action none
+# Prefix key.
set prefix ^A
unbind ^B
bind ^A send-prefix
+# Keys to switch session.
bind q switch 0
bind Q switch 0
bind w switch 1
@@ -13,10 +16,15 @@ bind W switch 1
bind e switch 2
bind E switch 2
+# Other key bindings.
bind I list-windows
bind i list-windows
+# First session.
new -d -s0 -nirssi 'screen -DRS irssi irssi' # safe from pkill tmux ;-)
+setw -s0 -i0 monitor-activity on
+set -s0 status-bg green
+set -s0 status-left '[0]'
neww -d -ntodo 'exec emacs ~/TODO'
neww -d -nncmpc
neww -d
@@ -27,14 +35,21 @@ neww -d
neww -d
neww -d
+# Second session.
new -d -s1
+set -s1 status-bg cyan
+set -s1 status-left '[1]'
linkw -dk -i0 0 0
neww -d
neww -d
neww -d
+# Third session.
new -d -s2
+set -s2 status-bg yellow
+set -s2 status-left '[2]'
linkw -dk -i0 0 0
neww -d
neww -d
neww -d
+