summaryrefslogtreecommitdiff
path: root/.screenrc
blob: 00b718d4185eddf2d672282f7c536d899999b1ab (plain)
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
# start in homedir
chdir

# --- preferences

vbell off
autodetach on
startup_message off
defscrollback 5000
escape ^\\
# defnonblock 5
# nonblock 5
# altscreen on

# --- status bar

# from the gentoo wiki, hacked for urxvt with zenburn colours
hardstatus alwayslastline
hardstatus string '%{= dg}[ %{G}%H %{g}][%= %{= dw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'

# --- terminal settings

# # http://frexx.de/xterm-256-notes/
# # Get 256 colours
# # 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"

# term screen-256color

# --- bindings

# bounce back and forth between windows
bind ^\\ other

# # toggle the status bar
# bind f eval "hardstatus alwaysignore"
# bind F eval "hardstatus alwayslastline"

# # bind an rtorrent helper macro
# register s ^I^Xd.set_directory=~/local/rt/complete^M^S^N
# bind R process s