Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (20 sloc) 963 Bytes

Copy as RTF TextMate bundle

Need to copy + paste some text and keep the syntax highlighting?

Yes you do. All the time. For Keynote presentations. And probably other reasons.

Install this bundle, and after selecting some pretty syntax highlighted text, use Ctrl+Alt+Cmd+R to copy it as RTF (rich text format) Now you can paste it directly into Keynote presentations. And other places where RTF is supported.


mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git:// "Copy as RTF.tmbundle"

Inside TextMate, click "Reload Bundles."


This bundle was created by Max Muermann

Its now hosted on github by Dr Nic Williams so it can live on.


Don't know. Ask Max.