-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscreenrc
More file actions
executable file
·70 lines (56 loc) · 1.94 KB
/
screenrc
File metadata and controls
executable file
·70 lines (56 loc) · 1.94 KB
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
# basic settings... self explainatory
nethack on
deflogin on
autodetach on
startup_message off
# the dash makes it a login shell
defshell -$SHELL
shell -$SHELL
activity ""
bell_msg ""
vbell off
vbell_msg ""
defscrollback 20480
nonblock on
defutf8 on
defbce on
defflow off
msgwait 1
altscreen on
# only Shift+k to kill - prevent accidents
bind k
bind ^k
bind K kill
# resizing
bind = resize =
bind + resize +3
bind - resize -3
term "screen-256color-bce"
#term "xterm"
#terminfo rxvt ti@:te@:
#########################################################
# Here comes the pain. Status line declarations are nuts.
# Note you can do 'hardstatus alwayslastline' to show something at the bottom of
# the screen window always, or 'caption always' to show it at the bottom of
# every split
# This one shows hostname, server load, window lists, then date
# hardstatus alwayslastline "%{=bu kg}(%H %l%)(%{= kw} %=%?%-Lw%?%{=b kc}((%n %t))%{= kw}%?%+Lw%?%= %{=bu kg})(%D %Y.%m.%d %0C%A)"
# This shows a centered window list, with the current window highlighted
#caption always "%{= kw} %=%?%-Lw%?%{=b kc}%n %t%{= kw}%?%+Lw%?%= %{=bu kg}"
# This shows a left-aligned window list, with the current window highlighted
caption always "%{=u kw}%?%-Lw%?%{=bu kc}%n %t%{=u kw}%?%+Lw%?%{=bu kg}%="
# This shows just the current window in a status at the bottom of screen
# hardstatus alwayslastline "%= %3n %t%? [%h]%? %="
# This shows the window list with the current window bolded, centered, and
# surrounded by brackets
#caption always "%= %-w%L>%{= BW}((%n*%t))%{-}%52<%+w %L="
# Disable the hardstatus line if we're not using it above
hardstatus ignore
#########################################################
# Override the default config so that screen doesn't automatically change the
# xterm title on startup.
termcapinfo xterm 'ds='
#let pgup/pgdn scroll under urxvt (see .Xdefaults)
bindkey "^[[5;2~" eval "copy" "stuff ^u"
bindkey -m "^[[5;2~" stuff ^u
bindkey -m "^[[6;2~" stuff ^d