Skip to content

Instantly share code, notes, and snippets.

@aqzhyi
Created December 24, 2014 07:11
Show Gist options
  • Save aqzhyi/50243f06becb518e96fd to your computer and use it in GitHub Desktop.
Save aqzhyi/50243f06becb518e96fd to your computer and use it in GitHub Desktop.
Mac OS X Terminal .screenrc
vbell off
autodetach on
startup_message off
shell -$SHELL
allpartial off
defc1 off
defencoding utf8
bind b encoding big5 utf8
bind u encoding utf8 utf8
caption always "%{=u .d} %-w%<%{=ub .B}%n %t%{=u .d}%+w "
hardstatus alwaysignore
hardstatus alwayslastline "%{= .K} [%l]%<%=%{= .W}@%H %=%{= .y} %Y %M %d(%D) %{= .m} %C %A"
bindkey "^[O5C" next
bindkey "^[O5D" prev
bindkey "^[[C" next
bindkey "^[[D" prev
bindkey "^[[1;5D" prev
bindkey "^[[1;5C" next
bindkey "^[[5D" prev
bindkey "^[[5C" next
term xterm
termcapinfo xterm "Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm"
# allow bold colors - necessary for some reason
attrcolor b ".I"
attrcolor i "+b"
# erase background with current bg color
defbce on
defutf8 on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment