I hate the mouse. It’s good for some things, but not my work. Switching between the mouse and the keyboard wreaks havoc on my muscle memory and fine-motor flow. Thanks to Emacs, Ion, Pine, Gaim, and Firefox (God bless Find As You Type), I can do everything I need to with the keyboard. The only thing I can’t do with the keyboard is copy text from a terminal. And that irks me.
This command in my .screenrc copies screen’s paste buffer into the X primary selection. It runs automatically when you press > to set the second mark in copy/scrollback mode.
# set the second mark, write to the screen-exchange # file, and use xsel to synchronize the paste buffer # with the X selection. bindkey -m > eval "stuff ' '" writebuf "exec sh -c 'xsel -n < /tmp/screen-exchange'"