Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 241
Murgh Avatar asked Jan 30 '11 20:01

Murgh


People also ask

How do I add bundles to TextMate?

Go to Bundles -> Bundle Editor -> Show Bundle Editor, which will launch the editor window. Click the + button at the bottom left of the window, and select New Bundle. A new bundle will be created in the list.

What is TextMate bundle?

TextMate is a general-purpose GUI text editor for macOS. TextMate support in IntelliJ IDEA allows you to import bundles, matches IntelliJ IDEA and TextMate color schemes, and provides code completion in . markdown files.

Where are TextMate bundles stored?

Bundles or bundle items which you install by dragging them to TextMate or double clicking will be installed in ~/Library/Application Support/TextMate/Pristine Copy/Bundles .


2 Answers

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.

like image 57
slhck Avatar answered Oct 21 '22 19:10

slhck


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.

like image 44
Szymon Bęczkowski Avatar answered Oct 21 '22 18:10

Szymon Bęczkowski