-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreenrc
78 lines (68 loc) · 1.58 KB
/
screenrc
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Default screens
shelltitle bash
screen -t root 0 //group
select 0
screen -t admin 1 //group
screen -t admin 2
select 0
screen -t jiff 3 //group
screen -t jiff 4
select 0
screen -t container 5 //group
screen -t container 6
select 0
screen -t remote 7 //group
screen -t remote 8
select 4
# Keybindings for local sessions
bindkey "^[[1;5D" prev # ctrl-left
bindkey "^[[1;5C" next # ctrl-right
# Keybindings for nested screen sessions
#bindkey "^i" meta
bindkey "^[[1;5B" stuff ^ap # ctrl-down
bindkey "^[[1;5A" stuff ^an # ctrl-up
bindkey "^`" stuff ^a # meta
# Keybindings for windows > 9
bind -c selectwindow 0 select 10
bind -c selectwindow 1 select 11
bind -c selectwindow 2 select 12
bind -c selectwindow 3 select 13
bind -c selectwindow 4 select 14
bind -c selectwindow 5 select 15
bind -c selectwindow 6 select 16
bind -c selectwindow 7 select 17
bind -c selectwindow 8 select 18
bind -c selectwindow 9 select 19
bind - command -c selectwindow
# Keybindings for managing regions, windows
bind h focus left
bind j focus down
bind k focus up
bind l focus right
bind t focus top
bind b focus bottom
bind = resize =
# Rename kill binding
bind ^k
bind k
# Behavior
term screen-256color
startup_message off
vbell off
# altscreen off
scrollback 300000
defscrollback 300000
compacthist on
nethack on
mousetrack off
verbose on
zombie kr
# Status
hardstatus alwayslastline
hardstatus string '%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<%=%H %c'
# Naming windows
dynamictitle off
# %H: host name
# %w: all windows, with -L and +L windows before and after, respectively
# %=: padding
# %{= .d}: background/foreground colour