tmux/examples/n-marriott.conf

89 lines
1.5 KiB
Plaintext
Raw Normal View History

2008-06-04 18:26:29 +00:00
# Default global options.
set -g status-bg green
set -g status-right-length 60
set -g default-command "exec /bin/ksh -l"
set -g bell-action none
set -g lock-after-time 1800
# Default global window options.
#setw -g remain-on-exit on
2008-06-02 20:52:43 +00:00
2008-06-04 18:26:29 +00:00
# Prefix key.
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 20:52:43 +00:00
2008-06-04 18:26:29 +00:00
# Keys to switch session.
bind q switchc -t0
bind w switchc -t1
bind e switchc -t2
2008-06-02 20:52:43 +00:00
2008-06-04 18:26:29 +00:00
# Other key bindings.
2009-01-18 14:46:04 +00:00
bind i choose-window
bind m setw monitor-activity
bind y setw force-width 81
bind u setw force-width 0
2008-06-02 20:52:43 +00:00
2009-01-18 14:46:04 +00:00
bind N neww \; splitw -d
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'
setw -t0:0 monitor-activity on
setw -t0:0 aggressive-resize on
set -t0 status-bg green
2008-06-03 18:15:57 +00:00
neww -d -ntodo 'exec emacs ~/TODO'
setw -t0:1 aggressive-resize on
neww -d -nncmpc 'exec ncmpc -f ~/.ncmpc.conf'
setw -t0:2 aggressive-resize on
neww -d -nmutt 'exec mutt'
setw -t0:3 aggressive-resize on
2008-06-03 18:15:57 +00:00
neww -d
neww -d
neww -d
neww -d
neww -d
neww -d
2009-01-18 14:46:04 +00:00
neww -d
neww -d
neww -d
neww -d
neww -d
neww -d
2008-06-02 20:52:43 +00:00
2008-06-04 18:26:29 +00:00
# Second session.
2008-06-02 20:52:43 +00:00
new -d -s1
set -t1 status-bg cyan
linkw -dk -t0 -s0:0
linkw -dk -t1 -s0:1
linkw -dk -t2 -s0:2
linkw -dk -t3 -s0:3
neww -d
neww -d
neww -d
2008-06-03 18:15:57 +00:00
neww -d
neww -d
neww -d
2008-06-02 20:52:43 +00:00
2008-06-04 18:26:29 +00:00
# Third session.
2008-06-02 20:52:43 +00:00
new -d -s2
set -t2 status-bg yellow
linkw -dk -t0 -s0:0
linkw -dk -t1 -s0:1
linkw -dk -t2 -s0:2
linkw -dk -t3 -s0:3
neww -d
neww -d
neww -d
2008-06-03 18:15:57 +00:00
neww -d
neww -d
neww -d