Skip to content

Instantly share code, notes, and snippets.

@Coomer
Created February 28, 2014 19:26
Show Gist options
  • Save Coomer/9277921 to your computer and use it in GitHub Desktop.
Save Coomer/9277921 to your computer and use it in GitHub Desktop.
Coomer's .screenrc for GNU Screen on Mac OS X. Save this as .screenrc in your home directory.
altscreen on
hardstatus on
hardstatus alwayslastline
startup_message off
termcapinfo xterm ti@:te@
hardstatus string " %{= kC}%-w%{.rW}%n %t%{-}%+w %=%{..C} %H %{..C} %m/%d "
defscrollback 1000
# Bind C-a v to copy buffer to Mac OS X clipboard.
bind v eval "writebuf" "exec sh -c 'pbcopy < /tmp/screen-exchange'"
@orenyosifon
Copy link

you made my day

@sushantksh
Copy link

Thanks coomer. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment