My .screenrc file
Here’s my .screenrc file:
# Use C-t instead of C-a since C-a is used in bash for "go to beginning of line."
# first letter defines the screen command key.
# second letter defines the literal insert key.
escape ^Tt
# Give 3000 lines of scrollback
scrollback 3000
# Don't annoy me with the startup message for screen.
startup_message off
# Use 256 colors
term screen-256color
# Map some handy keys
bindkey "^[[1;5D" prev # change window with ctrl-left
bindkey "^[[1;5C" next # change window with ctrl-right
# Setup the statusbar
hardstatus alwayslastline
hardstatus string '%{= kG}%-Lw%{= kW}%50> %n*%f %t%{= kG}%+Lw%< %{= kG}%-=%D %m/%d/%y | %C:%s %A | %1`%{-}'
Also an additional hint, to reload the .screenrc file do this:
C-t : source $HOME/.screenrc