ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Tritium

by jeffpatzer ST2/ST3

syntax highlighting, tab triggers, multiline comments

Details

  • 2014.01.27.20.04.49
  • github.​com
  • github.​com
  • 5 years ago
  • 1 hour ago
  • 6 years ago

Installs

  • Total 578
  • Win 260
  • OS X 185
  • Linux 133
Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7
Windows 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Instructions on how to get set-up

Getting up and going is pretty straight forward.
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git@github.com:jpatzer/Tritium.tmbundle.git 'Tritium.tmbundle'
osascript -e 'tell app "TextMate" to reload bundles'

How to enable multiline comments

The trick to getting this to work is to tell TextMate to recognize your comments preference. To do this, you'll have to open up your bundle editor (Bundles > Bundle Editor > Show Bundle Editor) and navigate to the Source bundle. Open it and find the comments preference. In the Scope Selector write source.tritium.

Now you can do multiline comments with 'command + /' key combo (or any other that you'd like to define on your own).

At some point I may figure out a better way to do this (I'm probably missing something), but until then you'll have to go about things this way.

If you want to make changes to the bundle

When you make changes to your Git-ified bundle in the Bundle Editor, you’ll need to Reload Bundles for the changes to show up in your repository. Then you’ll need to git add . and commit / push as you would a normal repository.