jospalau /.screenrc

# load some apps (last listed will be focused)
screen -t Shell0  0
# screen -t ROOT    1 su -
# screen -t Mutt  2 mutt
# screen -t Vim  3 vim
# screen -t MC  4 mc
# screen -t Mocp  5 mocp
# screen -t Shell6  6
# screen -t rtorrent 7  rtorrent

hardstatus alwayslastline
hardstatus string '%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}]%{=b C}[ %m/%d %c ]%{W}'

# Turn off start message:
startup_message off

# Set messages timeout to one second: 
msgwait 1


# To get screen to add lines to xterm's scrollback buffer, uncomment the
# following termcapinfo line which tells xterm to use the normal screen buffer
# (which has scrollback), not the alternate screen buffer.
#
termcapinfo xterm ti@:te@

##    Keybindings    ##

# bind F7  to detach screen session from this terminal
# bind F8  to kill current screen window.
# bind F9  to create a new screen
# bind F10 to rename current screen window
# bind F11 to move to previous window
# bind F12 to move to next window
bindkey -k k7 detach
bindkey -k k8 kill
bindkey -k k9 screen
bindkey -k k; title
bindkey -k F1 prev
bindkey -k F2 next