aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-12-08 16:19:51 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-12-08 16:19:51 +0000
commit7a82e86827e3d863a6dc4f1d50985f287d1ff86b (patch)
tree34bcc703d5d79065c5ef364be2a6ebfbc13cf6d0 /examples
parentf008d303e75c185eebcbb493b4e6d49bb400f694 (diff)
downloadrtmux-7a82e86827e3d863a6dc4f1d50985f287d1ff86b.tar.gz
rtmux-7a82e86827e3d863a6dc4f1d50985f287d1ff86b.tar.bz2
rtmux-7a82e86827e3d863a6dc4f1d50985f287d1ff86b.zip
Make window options work the same was as session options, add mode-fg/mode-bg options, force -g for global on set/show/setw/showw/
Diffstat (limited to 'examples')
-rw-r--r--examples/n-marriott.conf21
1 files changed, 9 insertions, 12 deletions
diff --git a/examples/n-marriott.conf b/examples/n-marriott.conf
index 5650f004..c3695fbc 100644
--- a/examples/n-marriott.conf
+++ b/examples/n-marriott.conf
@@ -1,32 +1,29 @@
# Default global options.
-set status-bg green
-set default-command "exec /bin/ksh -l"
-set bell-action none
+set -g status-bg green
+set -g status-right-length 60
+set -g default-command "exec /bin/ksh -l"
+set -g bell-action none
+
+# Default global window options.
+setw -g remain-on-exit on
# Prefix key.
-set prefix ^A
+set -g prefix ^A
unbind ^B
bind ^A send-prefix
# Keys to switch session.
bind q switch -t0
-bind Q switch -t0
bind w switch -t1
-bind W switch -t1
bind e switch -t2
-bind E switch -t2
# Other key bindings.
bind i list-windows
-bind I list-windows
bind m setw monitor-activity
-bind M setw monitor-activity
bind y setw force-width 81
-bind Y setw force-width 81
bind u setw force-width 0
-bind U setw force-width 0
# First session.
new -d -s0 -nirssi 'screen -DRS irssi irssi' # safe from pkill tmux ;-)
@@ -35,7 +32,7 @@ setw -t0:0 aggressive-resize on
set -t0 status-bg green
set -t0 status-left '[0]'
neww -d -ntodo 'exec emacs ~/TODO'
-neww -d -nncmpc
+neww -d -nncmpc 'exec ncmpc -f ~/.ncmpc.conf'
neww -d
neww -d
neww -d