Skip to content

Instantly share code, notes, and snippets.

@aejh
Created January 24, 2013 09:10
Show Gist options
  • Save aejh/4618970 to your computer and use it in GitHub Desktop.
Save aejh/4618970 to your computer and use it in GitHub Desktop.
My screenrc file
startup_message off
autodetach on
vbell on
bell_msg 'Ding dong %n'
caption always "%H %{= rr}%{+b w} %n %h %=%t %c:%s"
hardstatus alwayslastline "%-Lw%{= rW}%50>%n%f* %t%{-}%+Lw%<"
termcapinfo xterm*|rxvt*|kterm*|Eterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007'
termcapinfo xterm* ti@:te@
# Requires cmatrix to be installed
#idle 420 eval "screen cmatrix -a -f -o -u 2" "idle 0"
defscrollback 1000
compacthist on
# # terminfo and termcap for nice 256 color terminal
# # allow bold colors - necessary for some reason
attrcolor b ".I"
# # tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# # erase background with current bg color
defbce "on"
bind s
bind ^S
nonblock on
bind = resize =
bind + resize +1
bind - resize -1
bind _ resize max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment