Skip to content

Instantly share code, notes, and snippets.

@mbadran
Created March 8, 2009 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbadran/75737 to your computer and use it in GitHub Desktop.
Save mbadran/75737 to your computer and use it in GitHub Desktop.
my .screenrc
# turn off the annoying startup message
startup_message off
# change meta key to ctrl+w (ctrl+a goes to start of line by default)
escape "^Ww"
# scrollback for default windows
defscrollback 50000
# warn of activity
activity "Activity in %t(%n)"
termcapinfo xterm-color 'hs:ts=\E]2;:fs=\007:ds=\E]0;screen\007'
# set status line in window title
hardstatus string "%h"
caption always "%-Lw%{= kW}%50> %n%f* %t %{-}%+Lw%<"
# set left and 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment