Tuesday, December 21, 2010

Enable copy on select in MAC OSX terminal

1. Install iTerm a nice replacement to the built in Terminall.app which uses X11 server.

2. Open X11 Preferences and make sure all check boxes are selected:

Now:
- whatever you select in iTerm is available on OSX Pasteboard and can be pasted in other applications.
- whatever is in the Pasteboard can be inserted in iTerm with a middle click.

Note: For those wondering how to use the middle click easily with the trackpad I'd suggest installing the MiddleClick app. With it you can paste in the terminal with a single tree-finger tap.

2 comments:

  1. Any idea on how to do this system-wise? In Linux, clipboard managers such as parcellite allow you "copy-on-highlight" everywhere. I'm desperately in need of this feature outside the terminal (which is where I use it most of the time)
    thanks!

    ReplyDelete