Search code examples
textmatetextmatebundles

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.


Solution

  • 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.