-
Notifications
You must be signed in to change notification settings - Fork 3
/
screenrc
47 lines (36 loc) · 1.13 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
escape `~
nethack on
vbell on
#kill startup message
startup_message off
# define a bigger scrollback, default is 100 lines
defscrollback 5000
# custom term
encoding UTF-8
term "screen-256color"
#altscreen on #I prefer it off.
attrcolor b ".I"
defbce "on" #clear with current background color rather than default background color
# read and write screen clipboard to X clipboard.
bind > eval writebuf "exec sh -c 'xsel -nbi </tmp/screen-exchange'"
bind < eval "exec sh -c 'xsel -bo >/tmp/screen-exchange'" readbuf
####
#
# Hard Status
#
hardstatus on
hardstatus alwayslastline
#normal:
#no status
#hardstatus string "%{-b gk}%-w%{+b kg}%50>%n %t%{-b gk}%+w%<"
# left status.
#(red)hostname (green)hh:mm (yellow)MMdd (white)
#hardstatus string "%{rk}%H %{gk}%c %{yk}%M%d %{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
# left status.
#(red)hostname (green)hh:mm:ss (yellow)MMdd (white)
#hardstatus string "%{rk}%H %{gk}%c:%s %{yk}%M%d %{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
# right status
# white on blue.
# red highlight
# hostname MM/dd hh:mm am/pm
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "