-
Notifications
You must be signed in to change notification settings - Fork 2
/
.screenrc
47 lines (37 loc) · 1.28 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
# Disable the startup message
startup_message off
# set a big scrolling buffer
defscrollback 5000
# Set the caption on the bottom line
# caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %LM %d - %c"
caption always "%{= kw}%?%-w%?%{+b wk}%n %t%?(%u)%?%{= kw}%?%+w%?"
attrcolor b ".I"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce "on"
#screen -t cmsq1 0 ssh cmsq1
#exec ~/screen-ssh-agent
#exec true
#source ~/.ssh/screen_agent
screen 0
screen 1
screen 2
screen 3
# And a few empty shells.
# This is the initial window
select 0
# Insane statusline
# hardstatus alwayslastline "%{ck}%?%-w%?[%n*%f %t]%?%+Lw%?%=| %D %d.%m.%y - %c "
# hardstatus alwayslastline "%{kr} %H %{ky} load[%l] %{kg} %d.%m.%Y %c %{+b}%{yb} %=%?%-w%?[%n%f %t]%?%+w%? "
# Nice statusline:
hardstatus lastline "%{ck}%?%-w%?[%n*%f %t]%?%+Lw%?"
# Even nicer lastline :-)
# hardstatus lastline "%{+b ck} %?%-w%?%{-b}%n%f %t%{+b} %?%+w%? %= %l %D %d/%m/%Y %0c "
# hardstatus lastline "%{-b ck} %?%-w%?%{+b}%n%f %t%{-b} %?%+w%? %= %l %D %d/%m/%Y %0c "
hardstatus alwayslastline "%{+b kr}[%H] %{kg}[%n %t]%{kb} %-= %LD, %LM %d %Y %C%a"
hardstatus on
sorendition gK
# Turn UTF-8 on by default?
defutf8 on
# Bind ctrl-left and ctrl-right to prev/next screens
bindkey "^[[D" prev
bindkey "^[[C" next