~ ryz
/.screenrc
last update: 2007-11-20 14:10
### .screenrc / 'GNU Screen' configuration file
### written by ryz
###
### last update: 2007-11-28 14:10
## key bindings
# unbind some dangerous keys
bind '.'
bind '^\'
bind '\\'
bind 'k'
bind '^k'
# bind some more useful keys
bind '}' history
bind 'K' kill
## screen startup / terminal-spawns
screen -t irssi 0 zsh
screen -t centerim 1 zsh
screen -t mutt 2 zsh
screen -t zsh 3 zsh
screen -t vim 4 zsh
## statusbar configuration
hardstatus on
# actual statusbar
#
# colors: green, white, grey
#
# preview
# -------
# [] ({hostname}) :: {windowlist} :: {day} {time} []
hardstatus alwayslastline
hardstatus string "%{wk}%{-}%{ww} %{wk} (%{gk}%H%{-}%{wk}) %{Wk}:: %{-}%{wk}%-w %{+b wk}[%n %t]%{-} %+w%=%{wk} :: %D %c:%s %{ww} %{-}"
# old, simplistic statusbar
# -------------------------
# hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%< %=%D %M %d %c"
# hardstatus string '%{= kK}%-Lw%{= KW}%50>%n%f %t%{= kK}%+Lw%< %{=kG}%-= %d%M %c:%s%{-}'
## misc
shell zsh
autodetach on
startup_message off
shelltitle ''
vbell off
allpartial off
# scrollback-buffer in lines
defscrollback 2048
# show status-messages for x seconds
msgwait 2
# detach messages
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."