Flying memes

Copy with Style bundle now available for TextMate 2

I’ve always owned a debt of gratitude to Bartosz Blimke and his amazingly simple ‘copy with style’ Textmate bundle which lets you copy and paste chunks of code to external programs (eg: Keynote) while keeping all the syntax highlight working.


Today I was disappointed discovering that this bundle is no longer working on Textmate 2, so I forked the original repository and made the necessary changes to bring back to work this bundle.

You can install with this simple instructions:


mkdir -p ~/Library/Application\ Support/Avian/Pristine\ Copy
cd ~/Library/Application\ Support/Avian/Pristine\ Copy/
git clone -b textmate-2 https://github.com/sandropaganotti/copy-with-style-tmbundle.git "Copy with Style.tmbundle"

To make this work remember to switch Textmate 2 chosen theme at least once in order to make the necessary preference be saved in .plist file (it’s still in alpha :).

Tags: , ,