• Gist Support for TextMate

    defunkt 19 Nov 2008

    gtcaz has begun improving the Gist support in drnic’s GitHub TextMate Bundle

    The Gist support was originally written by mattmatt. It uses gist.rb and supports authentication out of the box – when you make a Gist, it’ll be tied to your GitHub account (assuming you followed the Global Git Config instructions on your account page). It also can detect and set the Gist’s language, based on your current TextMate.

    Installation is simple:

    cd ~/"Library/Application Support/TextMate/Bundles/" 
    git clone git://github.com/gtcaz/github-tmbundle.git "GitHub.tmbundle" 
    osascript -e 'tell app "TextMate" to reload bundles'
    

    Update: Whoops, mattmatt wrote the Gist support. Updated post.

  • Comments

    mattmatt Wed Nov 19 12:07:42 -0800 2008

    Not to be a bitch about it, but I added that feature initially. gtcaz is doing some nice improvements though to it to set the language when creating the gist.

    defunkt Wed Nov 19 12:29:19 -0800 2008

    @mattmatt My bad. I’m an amateur journalist, at best. Post updated!

    gtcaz Wed Nov 19 12:32:15 -0800 2008

    Yeah, I added Gist support to the Git bundle, but then was pointed to the GitHub bundle by Tim. I just forked it and added the language detection code. Go team!

    NZKoz Wed Nov 19 12:33:40 -0800 2008

    This is a great example of why I don’t use gist. Gist is so bloated, now textmate is bloated too! Next thing you know, github will be bloated, and git will be bloated. After that, we’ll all be bloated.

    Then what guys! Thanks for causing us all to be bloated!

    gtcaz Wed Nov 19 12:34:49 -0800 2008

    Oh, and Dr Nic has the master repo.

    I’ve sent a pull request.

    drnic Wed Nov 19 19:57:36 -0800 2008

    @NZKoz – I can add some extra Cmd+Shift+1, Cmd+Shift+3, ... Cmd+Shift+9 commands if you’d like that sort of bloat. :)

    @gtcaz – commits merged.

    NZKoz Thu Nov 20 12:46:24 -0800 2008

    @drnic: I want Cmd+Shift+seventh. Otherwise it’s useless.

    danlucraft Wed Apr 01 13:22:11 -0700 2009

    What font is that please?

    Please log in to comment.