-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.screenrc
32 lines (25 loc) · 1.35 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
escape ^\\
# doesn't seem to work :(
bindkey "^[Od" prev # change window with ctrl-left
bindkey "^[Oc" next # change window with ctrl-right
bind ^w windowlist
shelltitle '$ |shell'
title shell
term screen-256color
defscrollback 1000
# ugly, with some function
# caption always "%?%F%{-b bc}%:%{-b bb}%?%C|%D|%M %d|%H|%?%F%{+u wb}%? %L=%-Lw%45>%{+b by}%n%f*%t%{-}%+Lw%-0<"
# no window list:
# caption always "%{= kc}%H (system load: %l)%-21=%{= .m}%D %d.%m.%Y %0c"
# centered list of windows, a bit verbose
# hardstatus alwayslastline
# hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W}%c %{g}]'
# cleaner, but still verbose list:
# hardstatus string '%{= kG}%-Lw%{= kW}%50> %n%f* %t%{= kG}%+Lw%< %{= kG}%-=%c:%s%{-}'
# hardstatus string '%{= kG}%-Lw%{= kW}%50> %n*%f %t%{= kG}%+Lw%< %{= kG}%-=%D %m/%d/%y | %C:%s %A | %1`%{-}'
# hardstatus string '%{= kG}%{C}Screen: %{c}%{= kG}[%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{C} %d-%m %{W}%c %{g}]'
# closest to the one I want
# caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= %c"
### caption always "%{= kw}%H : %{= kG}%-w%{= gk}%n %t%{-}%+w %-= %c"
#XXX caption always "%{= kw}%{+b g}%S%{+b k} %H : %{= kG}%-w%{= gk}%n %t%{-}%+w %-= %c"
caption always "%{= kw}%{+db y}%S%{-d k} %H : %{= kG}%-w%{= gk}%n %t%{-}%+w %-= %c"