#
# slackmaGic's .screenrc file
#
# Last updated: 02/02/20016

vbell on # no annoying audible bell, please
autodetach on # detach on hangup
startup_message off # don't display the copyright page
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." # emulate .logout message
defutf8 on # Turn on UTF-8 by default
defscrollback 10240
altscreen on

################
# keybindings

bind k
bind ^k
bind .
bind ^\
bind \\
bind ^h
bind h
bind 'K' kill
bind 'I' login on
bind 'O' login off
bind '}' history

register [ "\033:se noai\015a"
register ] "\033:se ai\015a"
bind ^] paste [.]

################
# default windows

screen -t misc 0
screen -t projects 1
screen -t tasks 2
screen -t IRC 3
screen -t linode 4
screen -t p2p 5
screen -t work 6

#blankerprg rain -d 100
#idle 30 blanker

# Left Right meta key mods
# ALT-,. and ALT-<>
bindkey "^[<" eval number !echo $WINDOW-1|bc
bindkey "^[>" eval number !echo $WINDOW+1|bc
bindkey "^[," prev
bindkey "^[." next


# COLORS! and some usefull terminfo
term screen-256color
terminfo rxvt-unicode 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'

hardstatus alwayslastline
hardstatus string "%{+b wk} %-w%{+b kc} %t%{-}%+w%=%=%=%{kc}%=%=%=%=%H%{-bwk}%=%=%=%=%l%=%=%=%{+b wk} %D, %c:%s "
