Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

my latest nifty screen trick (borrowed from a similar variant for xclip) goes:

    bindkey -m > eval "stuff ' '" writebuf "exec sh -c 'pbcopy < /tmp/screen-exchange'"
then when you've made a selection in screen Copy Mode, just terminate it with '>' to stick it onto the system paste buffer.


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: