Skip to content

Commit c983eb9

Browse files
authored
Create .screenrc
1 parent 25e000a commit c983eb9

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.screenrc

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
vbell off
2+
autodetach on
3+
startup_message off
4+
shell -$SHELL
5+
6+
allpartial off
7+
defc1 off
8+
defencoding utf8
9+
bind b encoding big5 utf8
10+
bind u encoding utf8 utf8
11+
12+
caption always "%{=u .d} %-w%<%{=ub .B}%n %t%{=u .d}%+w "
13+
hardstatus alwaysignore
14+
hardstatus alwayslastline "%{= .K} [%l]%<%=%{= .W}@%H %=%{= .y} %Y %M %d(%D) %{= .m} %C %A"
15+
16+
bindkey "^[O5C" next
17+
bindkey "^[O5D" prev
18+
19+
bindkey "^[[C" next
20+
bindkey "^[[D" prev
21+
22+
bindkey "^[[1;5D" prev
23+
bindkey "^[[1;5C" next
24+
25+
bindkey "^[[5D" prev
26+
bindkey "^[[5C" next
27+
28+
term xterm
29+
termcapinfo xterm "Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm"
30+
31+
# allow bold colors - necessary for some reason
32+
attrcolor b ".I"
33+
attrcolor i "+b"
34+
35+
# erase background with current bg color
36+
defbce on
37+
38+
defutf8 on

0 commit comments

Comments
 (0)