summaryrefslogtreecommitdiffstats
path: root/screenrc
blob: bccd39d0d88812ff0587e5f22ea9dcd3662a6f7a (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
48
49
50
51
52
#
# .screenrc configuration file
# 

# basic settings
startup_message off
defutf8 on
autodetach on
defscrollback 5000
msgwait 3

# don't block on displays that don't accept output
nonblock on

# modify the terminfo when using xterm
terminfo xterm* LP

# use 256 colors
term screen-256color

# support alternate screens so display is redrawn
altscreen on

# bell settings
bell_msg "bell: %n (%t)^G"
vbell off
vbell_msg "[[ DING ]]"

# set activity message
activity "active: %n (%t)"

# get rid of some too-easy binds for kill
bind k
bind ^K
bind K kill
# and change some binds for split
bind s split
bind S split
bind ^S

# keep statusbar on and at bottom
hardstatus off
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}]'

# change the escape character
#escape ``

#let pgup/pgdn scroll under urxvt (see .Xdefaults)
bindkey "^[[5;2~" eval "copy" "stuff ^u"
bindkey -m "^[[5;2~" stuff ^u
bindkey -m "^[[6;2~" stuff ^d