Skip to content

Instantly share code, notes, and snippets.

Created August 1, 2011 18:15
Show Gist options
  • Save anonymous/1118675 to your computer and use it in GitHub Desktop.
Save anonymous/1118675 to your computer and use it in GitHub Desktop.
my .screenrc
defutf8 on
defencoding utf8 # set the internal encoding of a new screen window to utf8, i.e. "C-a c C-a u"
cjkwidth on
vbell off
autodetach on
startup_message off # Disable startup messages
#shell -$SHELL
shelltitle ""
allpartial off # Refresh entire screen on window change
altscreen on # erase screen when quit apps such as vim
#hardstatus alwayslastline "%=%{..M}%e %{..G}%H %{..Y} %c %{..R} %d/%m/%Y %{.K} Load: %l %{wb}"
caption always "%{.KW} %-w%{GK}[%n] %t%{.KW}%+w"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
termcapinfo xterm ti@:te@ # disable alternate screen in screen
attrcolor b ".I"
attrcolor i "+b"
defbce on # erase background with current bg color
defscrollback 20000 # the number of lines a window saves
bind b encoding big5 utf8 # internal encoding/display encoding
bind u encoding utf8 utf8
bind s # unbind some stupid or dangerous key bindings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment