-
Notifications
You must be signed in to change notification settings - Fork 0
/
screenrc
78 lines (65 loc) · 1.93 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
##############################################################
# Status line
##############################################################
hardstatus on
hardstatus alwayslastline
hardstatus string '%{= kg}[ %{g}%H %{g}][ %{= kw}%-Lw%{= bk}%50>%n%f* %t%{= kw} %+Lw%<%= %{g}][%{b} %Y-%m-%d %{w}%c %{g}]'
startup_message off
defscrollback 99900
##############################################################
# terminal settings
##############################################################
# 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 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce on
# turn off visual bell (very annoying and slows down xterm)
vbell off
# change the name of the terminal; default is 'screen'
term "screen-256color"
# a hack for the mouse
terminfo xterm*|rxvt*|screen* ti@:te@
# Ctrl-Tab
bindkey "^[[27;5;9~" next
# Ctrl-Shift-Tab
bindkey "^[[27;6;9~" prev
##############################################################
# terminal shells
##############################################################
shell "/usr/bin/zsh"
# Default screens. use Ctrl-a N to switch to shell N
screen -t sh_0 0
screen -t sh_1 1
screen -t sh_2 2
screen -t sh_3 3
screen -t sh_4 4
screen -t sh_5 5
screen -t sh_6 6
screen -t sh_7 7
screen -t sh_8 8
screen -t sh_9 9
# # Ctrl-a N moves through shells 0-9 only. to enable
# # more shells 10-19, uncomment following. and use Ctrl-a Shift N to
# # swith to shell 1N
#
bind ! select 11
bind @ select 12
bind \# select 13
bind $ select 14
bind % select 15
bind \^ select 16
bind & select 17
bind * select 18
bind ( select 19
bind ) select 10
#
# screen -t sh_11 11
# screen -t sh_12 12
# screen -t sh_13 13
# screen -t sh_14 14
# screen -t sh_15 15
# screen -t sh_16 16
# screen -t sh_17 17