-
Notifications
You must be signed in to change notification settings - Fork 1
/
.screenrc
86 lines (67 loc) · 1.95 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
79
80
81
82
83
84
85
# .screenrc
# vim:tabstop=4 softtabstop=0 shiftwidth=4:expandtab:foldmethod=marker
# Key Bindings {{{
# move among regions {{{
bind k focus up
bind j focus down
# }}}
# resize windows {{{
bind = resize =
bind + resize +1
bind - resize -1
bind _ resize max
# }}}
# list windows {{{
bind ' ' windowlist -b
# }}}
# }}}
# View Settings {{{
# default utf-8 {{{
defutf8 on
# }}}
# turn off startup message {{{
startup_message off
# }}}
# default scrollback line size {{{
defscrollback 10000
# }}}
# visual bell {{{
vbell off
# }}}
# hardstatus and caption {{{
defhstatus "screen (t) | $USER@H"
hardstatus off
#caption always "%{= Wk} %S %{kw} %-Lw%:%{Ck} %n%f* %t %{kw}%+Lw %= %{Kw} %Y-%m-%d %c:%s %{Wk} $USER@%H "
caption always "%{= Wk} %S %{kw} %n %t %= %{Kw} %Y-%m-%d %c:%s %{Wk} $USER@%H "
windowlist title "[ #: name%15=] hardstatus"
windowlist string "[%2n: %t%15=] %h"
# }}}
# window title {{{
# special xterm hardstatus: use the window title.
termcapinfo xterm*|rxvt*|kterm*|Eterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007'
# }}}
# supporting 256 colors {{{
# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB=background, AF=foreground
termcapinfo xterm-256color* 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce on
# }}}
# hardcopy(screenshot) directory {{{
hardcopydir $HOME/.screen
# }}}
# }}}
# startup commands {{{
# default login {{{
#deflogin on
shell -${SHELL}
# }}}
# startup windows {{{
#screen -t '$ |main' 0
# }}}
# start with window 0 {{{
select 0
# }}}
# }}}