-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.screenrc
More file actions
38 lines (28 loc) · 1.08 KB
/
.screenrc
File metadata and controls
38 lines (28 loc) · 1.08 KB
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
defscrollback 50000
term "screen-256color"
truecolor on # I think this needs a newer version (5?) :\
attrcolor b ".I" # allow bold colors - necessary for some reason
## tell screen how to set colors. AB = background, AF=foreground
#termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce on # use current bg color for erased chars
terminfo rxvt-unicode 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
altscreen on
termcapinfo xterm* ti@:te@
hardstatus on
hardstatus alwayslastline
# Cyan tabs, red focused tab, and green time/date...tabs "scroll" so focused
# tab is always shown
hardstatus string "%{Ck}%-w%{=b kR}%50>%n %t%{-}%+w%-15=%{=b kG}|%d/%m/%y %C"
# Allows Screen to know when to automatically change the title
shelltitle "> |bash"
bind = resize =
bind + resize +1
bind - resize -1
bind _ resize max
# Send screen buffer to X's buffer
bind b eval writebuf 'exec /bin/sh -c "xsel -b -i < /tmp/screen-exchange"'
bindkey "^[[D" prev
bindkey "^[[1;5D" prev # change window with ctrl-left
bindkey "^[[C" next
bindkey "^[[1;5C" next # change window with ctrl-right
startup_message off