Skip to content

Instantly share code, notes, and snippets.

@poppen
Created October 5, 2011 00:56
Show Gist options
  • Select an option

  • Save poppen/1263321 to your computer and use it in GitHub Desktop.

Select an option

Save poppen/1263321 to your computer and use it in GitHub Desktop.
# vim: filetype=screen
escape ^zz
vbell off
autodetach on
startup_message off
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
defscrollback 10000
altscreen on
defbce "on"
term xterm-256color
termcapinfo xterm-256color 'is=rmJH?7h?1;4;6l'
termcapinfo xterm* ti@:te@ # enable mouse on Terminal.app
## m:month, d:day, D:weekday, c:current time in 24h,
## n:window number, w:all window numbers, H:hostname,
## h:hardstatus of the window, l:current load of the system
caption always "%{=r dd} %-w%{=b dd} %n %t %{-}%+w %="
bind n screen
bind h prev
bind j next
bind l windowlist
bind ^u encoding utf8
bind ^e encoding eucjp
bind ^w encoding sjis
unsetenv SSH_AUTH_SOCK
setenv SSH_AUTH_SOCK $HOME/tmp/ssh-auth-sock.$HOSTNAME
# __END__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment