2008-06-04 20:26:29 +02:00
|
|
|
# Default global options.
|
2008-12-08 17:19:51 +01:00
|
|
|
set -g status-bg green
|
|
|
|
set -g status-right-length 60
|
|
|
|
set -g default-command "exec /bin/ksh -l"
|
|
|
|
set -g bell-action none
|
2009-01-14 23:36:07 +01:00
|
|
|
set -g lock-after-time 1800
|
2008-12-08 17:19:51 +01:00
|
|
|
|
|
|
|
# Default global window options.
|
2009-01-14 23:36:07 +01:00
|
|
|
#setw -g remain-on-exit on
|
2008-06-02 22:52:43 +02:00
|
|
|
|
2008-06-04 20:26:29 +02:00
|
|
|
# Prefix key.
|
2009-01-14 23:36:07 +01:00
|
|
|
set -g prefix C-a
|
|
|
|
unbind C-b
|
|
|
|
bind C-a send-prefix
|
|
|
|
|
|
|
|
# Unlock password.
|
|
|
|
pass -c '$2a$06$7LpuTSfDjcz.KD3a9mdEuuJmC.zEq6RBqHWMjdv9/qqzrfWedUBHe'
|
2008-06-02 22:52:43 +02:00
|
|
|
|
2008-06-04 20:26:29 +02:00
|
|
|
# Keys to switch session.
|
2009-01-14 23:36:07 +01:00
|
|
|
bind q switchc -t0
|
|
|
|
bind w switchc -t1
|
|
|
|
bind e switchc -t2
|
2008-06-02 22:52:43 +02:00
|
|
|
|
2008-06-04 20:26:29 +02:00
|
|
|
# Other key bindings.
|
2009-01-18 15:46:04 +01:00
|
|
|
bind i choose-window
|
2008-06-17 08:18:44 +02:00
|
|
|
|
|
|
|
bind m setw monitor-activity
|
|
|
|
|
|
|
|
bind y setw force-width 81
|
|
|
|
bind u setw force-width 0
|
2008-06-02 22:52:43 +02:00
|
|
|
|
2009-01-18 15:46:04 +01:00
|
|
|
bind N neww \; splitw -d
|
|
|
|
|
2009-01-14 23:36:07 +01:00
|
|
|
bind ~ split-window "top -s 0.5"
|
|
|
|
bind "#" split-window "ncmpc -f ~/.ncmpc.conf"
|
|
|
|
bind / command-prompt "split-window 'man %%'"
|
|
|
|
|
|
|
|
# First session.s
|
|
|
|
new -d -s0 -nirssi 'ssh -t natalya screen -DRS irssi irssi'
|
2008-06-17 08:18:44 +02:00
|
|
|
setw -t0:0 monitor-activity on
|
|
|
|
setw -t0:0 aggressive-resize on
|
|
|
|
set -t0 status-bg green
|
2008-06-03 20:15:57 +02:00
|
|
|
neww -d -ntodo 'exec emacs ~/TODO'
|
2009-01-14 23:36:07 +01:00
|
|
|
setw -t0:1 aggressive-resize on
|
2008-12-08 17:19:51 +01:00
|
|
|
neww -d -nncmpc 'exec ncmpc -f ~/.ncmpc.conf'
|
2009-01-14 23:36:07 +01:00
|
|
|
setw -t0:2 aggressive-resize on
|
|
|
|
neww -d -nmutt 'exec mutt'
|
|
|
|
setw -t0:3 aggressive-resize on
|
2008-06-03 20:15:57 +02:00
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
2009-01-18 15:46:04 +01:00
|
|
|
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-17 08:18:44 +02:00
|
|
|
set -t1 status-bg cyan
|
|
|
|
linkw -dk -t0 -s0:0
|
2009-01-14 23:36:07 +01:00
|
|
|
linkw -dk -t1 -s0:1
|
|
|
|
linkw -dk -t2 -s0:2
|
|
|
|
linkw -dk -t3 -s0:3
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
2008-06-03 20:15:57 +02:00
|
|
|
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-17 08:18:44 +02:00
|
|
|
set -t2 status-bg yellow
|
|
|
|
linkw -dk -t0 -s0:0
|
2009-01-14 23:36:07 +01:00
|
|
|
linkw -dk -t1 -s0:1
|
|
|
|
linkw -dk -t2 -s0:2
|
|
|
|
linkw -dk -t3 -s0:3
|
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|
2008-06-03 20:15:57 +02:00
|
|
|
neww -d
|
|
|
|
neww -d
|
|
|
|
neww -d
|