summaryrefslogtreecommitdiff
path: root/.screenrc
blob: 759ec3117fd60dc7af6abc13f9e110aafdb7b589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
defflow off

# Support alternate screens so that, for example, when you
# quit out of vi, the display is redrawn as it was before vi
# redrew the full screen.
altscreen on

term screen-256color

# statusline
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'

# fix scrolling in terminal
termcapinfo rxvt* ti@:te@
termcapinfo rxvt 'hs:ts=\E]2;:fs=07:ds=\E]2;screen07'