MacOSXのTerminal.appで、選択をした時に、
自動的に選択した文字列をコピーするSIMBLプラグイン
TerminalCopyOnSelect
を作ってみました。
TerminalCopyOnSelect.bundle.zip
インストール方法
- まずはSIMBL
をインストールします - 上述のTerminalCopyOnSelect.bundle.zipファイルをダウンロードして展開します
- 展開されたTerminalCopyOnSelect.bundleを、
~/Library/Application Support/SIMBL/Plugins/の下にコピーします。
ディレクトリが無い場合は作成してください。 - Terminal.appのプロセスを終了し、Terminal.appをもう一度起動します
これでOKです。
一時的にこの機能をオフにする場合は、
以下のようにメニューから「Copy On Select」をオフにしてください。

オンに戻せば再び有効化されます。
追記
ソースコードをGitHubで公開しました。
MITライセンスという事でお願いします。
posted by
genki on Tue 25 Nov 2008 at 17:43 with 4 comments
I've tested it and got the same result.
The latest SIMBL is older than the release of 10.6.2, so I couldn't find where the cause is.
I'm waiting for the next release of SIMBL or patches :-)