-
Notifications
You must be signed in to change notification settings - Fork 1
/
.screenrc
executable file
·49 lines (41 loc) · 1.14 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
term screen-256color
escape z
defutf8 on
encoding utf-8 utf-8
defencoding utf-8
defkanji utf-8
vbell on
bell_msg "bell: %n (%t) [%w:%s]"
shell $SHELL
shelltitle '> |fish'
startup_message off
autodetach on
defmonitor off
defscrollback 10000
altscreen on
defflow off
nethack on
multiuser on
bind q quit
bind x kill
bind -c REGION 0 remove
bind -c REGION 1 only
bind -c REGION 2 split
bind -c REGION o focus
bind -c REGION \^ resize
bind ^x command -c REGION
attrcolor b ".I"
termcapinfo xterm*|jfbterm*|screen*|rxvt* 'Co#256:pa#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm:'
defbce on
defhstatus "^Et"
# changes the windowlist format to suit caption/hardstatus
windowlist title '%{u .g}Num Flags Title%=[0-9] select the number [movement] j,C-n:Down k,C-p:Up (C-)f:PageDown (C-)b:PageUp'
windowlist string '%{.g}%3n %{.y}%f%09=%{dg} %t %='
caption always "%{b bk}%?%F%{b kw}%? %t %?(%h) %?%{-}%{= dd} (screen #%n) "
backtick 0 0 0 whoami
hardstatus alwayslastline "%{= dd} %-Lw%40L>%{= ck} %t %{-}%+Lw%-055=%{= dg} %`%{= dd}.%{= dg}%H %{= dM} %l %{= dc} %Y/%m/%d %C:%s %A %="
sorendition "= dd"
# launch windows
screen 1 nvim
screen 2 w3m http://google.com
screen 0