2008-06-04 20:26:29 +02:00
|
|
|
# Default global options.
|
2008-06-02 22:52:43 +02:00
|
|
|
set status-bg green
|
|
|
|
set default-command "exec /bin/ksh -l"
|
|
|
|
set bell-action none
|
|
|
|
|
2008-06-04 20:26:29 +02:00
|
|
|
# Prefix key.
|
2008-06-02 22:52:43 +02:00
|
|
|
set prefix ^A
|
|
|
|
unbind ^B
|
|
|
|
bind ^A send-prefix
|
|
|
|
|
2008-06-04 20:26:29 +02:00
|
|
|
# Keys to switch session.
|
2008-06-02 22:52:43 +02:00
|
|
|
bind q switch 0
|
|
|
|
bind Q switch 0
|
|
|
|
bind w switch 1
|
|
|
|
bind W switch 1
|
|
|
|
bind e switch 2
|
|
|
|
bind E switch 2
|
|
|
|
|
2008-06-04 20:26:29 +02:00
|
|
|
# Other key bindings.
|
2008-06-02 22:52:43 +02:00
|
|
|
bind I list-windows
|
|
|
|
bind i list-windows
|
|
|
|
|
2008-06-04 20:26:29 +02:00
|
|
|
# First session.
|
2008-06-03 20:15:57 +02:00
|
|
|
new -d -s0 -nirssi 'screen -DRS irssi irssi' # safe from pkill tmux ;-)
|
2008-06-04 20:26:29 +02:00
|
|
|
setw -s0 -i0 monitor-activity on
|
|
|
|
set -s0 status-bg green
|
|
|
|
set -s0 status-left '[0]'
|
2008-06-03 20:15:57 +02:00
|
|
|
neww -d -ntodo 'exec emacs ~/TODO'
|
|
|
|
neww -d -nncmpc
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
2008-06-02 22:52:43 +02:00
|
|
|
|
2008-06-04 20:26:29 +02:00
|
|
|
# Second session.
|
2008-06-02 22:52:43 +02:00
|
|
|
new -d -s1
|
2008-06-04 20:26:29 +02:00
|
|
|
set -s1 status-bg cyan
|
|
|
|
set -s1 status-left '[1]'
|
2008-06-03 20:15:57 +02:00
|
|
|
linkw -dk -i0 0 0
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
2008-06-02 22:52:43 +02:00
|
|
|
|
2008-06-04 20:26:29 +02:00
|
|
|
# Third session.
|
2008-06-02 22:52:43 +02:00
|
|
|
new -d -s2
|
2008-06-04 20:26:29 +02:00
|
|
|
set -s2 status-bg yellow
|
|
|
|
set -s2 status-left '[2]'
|
2008-06-03 20:15:57 +02:00
|
|
|
linkw -dk -i0 0 0
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
2008-06-04 20:26:29 +02:00
|
|
|
|