summaryrefslogtreecommitdiffstats
path: root/examples/n-marriott.conf
blob: cfd22c579abcbb8989182de2285648e81757d998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# 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
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
neww -d
neww -d
neww -d
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