Skip to content

Instantly share code, notes, and snippets.

@monokrome
Created June 23, 2012 22:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save monokrome/2980314 to your computer and use it in GitHub Desktop.
Save monokrome/2980314 to your computer and use it in GitHub Desktop.
A good .screenrc file, thanks to @kroogs
# Get rid of the startup message
startup_message off
# Stop flashing when I get an alert
vbell off
# Automatically detach if a disconnect occurs
autodetach on
# Think of it as xterm and give me scrolling
termcapinfo xterm-color|xterm|xterms|xs|rxvt ti@:te@
# Tabs along the bottom of the session
caption always "%{= k}%-w%{= G}%n %t%{-}%+w %-= %{= G}%H"
# Start at Window 1
bind c screen 1
bind ^c screen 1
bind 0 select 10
screen 1
# Allow h and l to move between tabs as well
bind h prev
bind ^h prev
bind l next
bind ^l next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment