Murgh
Murgh

Reputation: 517

TextMate - How to install a bundle?

I see a lot of bundles here I'd like to get my hands on

http://svn.textmate.org/trunk/Bundles/

The problem is I don't know how to install them. I've read the section 5 of manual dedicated to bundles, but there's no example how to install those from SVN.

I see the existing ones have the extension .tmbundle, but those on SVN are done differently.

Upvotes: 19

Views: 17896

Answers (3)

Szymon Bęczkowski
Szymon Bęczkowski

Reputation: 370

Download a bundle by going to its page, e.g. https://github.com/textmate/matlab.tmbundle and clicking the Download ZIP button.

Unzip it.

Change the name of the folder from

matlab.tmbundle-master

to

matlab.tmbundle

Now you can open it.

Upvotes: 13

Mangopop
Mangopop

Reputation: 330

Or you can just download them and double click to install, as long as the extension reads tmbundle, that's how I do it.

Upvotes: 4

slhck
slhck

Reputation: 38672

Try installing the bundle "GetBundles". It will help you pick new bundles in a nice GUI. I've been using it myself and it's definitely better than manually installing bundles.

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd !$
svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/
osascript -e 'tell app "TextMate" to reload bundles'

Then, go to "Bundles" - "GetBundles" - "Get Bundles". (source)

Alternatively, you can just put your .tmbundles into ~/Library/Application Support/TextMate/Bundles, as you may have seen from the code above.

Upvotes: 24

Related Questions