morax /.screenrc

.screenrc
#
# ~/.screenrc
#


# basic settings -------------------------------------------------------

startup_message off
vbell           off
defscrollback   512
shell           -$SHELL
shelltitle      sh
autodetach      on


# enable SHIFT-PGUP / SHIFT-PGDOWN scroll ------------------------------

termcapinfo rxvt ti@:te@
termcapinfo xterm ti@:te@


# change window with ALT-. ALT-, ---------------------------------------

bindkey "^[," prev
bindkey "^[." next


# change window with ALT-Q ALT-W ---------------------------------------

bindkey "^[q" prev
bindkey "^[w" next


# keyboard shortcuts ---------------------------------------------------

bind ^r screen -t rtorrent   rtorrent    # C-a-g
bind ^m screen -t mpd        ncmpc       # C-a-m
bind ^i screen -t icq        centericq   # C-a-i
bind ^f screen -t fish       fish        # C-a-f


# startup sessions -----------------------------------------------------

screen -t rtorrent   0 rtorrent
screen -t sh         1
# select 1


# status ---------------------------------------------------------------

hardstatus alwayslastline '%{= M}%H%{= G} %l %= %{= w}%-w%{+b r}%n*%t%{-b r}%{w}%+w %= %{c}%d %D %{B}%c'