Posts Tagged “textmate”

  • TextMate 2 bares its code

    So, yeah, TextMate 2 is Open Source (GPL 3). I have no idea what this ultimately means or indicates. I stopped following the list a while back, just because it was overload at the time, so I don't know if there's a backstory I missed.…

  • An average morning

    I was looking at some numbers on a web page. A wide variety of fairly large numbers. The web page didn't provide any kind of average for the numbers, and I was curious. Curious, of course, meant writing a script to solve the problem. Yes, I could have copied the numbers out, punched them into a calculator one by one, or opened up Numbers and pasted them into cells... bah. I wanted to be able to copy text with all kinds of other junk in it and just get the average of all the values in contained…

  • A couple of TextMate Macros for Markdown lists

    I was playing with the new TextMate Markdown bundle for MultiMarkdown 3 when I remembered an old nit I had with the list commands: no single-keystroke way to move list items up and down. Unless I'm completely forgetting about a shortcut, moving list items around involves selecting the entire line and using Control-Command-Up/Down to move it. Obviously, not a big deal, but 5 minutes with the Macro recorder in TextMate saves the time.…

  • AutoTag2: smarter tagging for TextMate and WordPress

    I was tooling around the Vim website looking at blogging plugins this morning. I noticed that one of them, Vimpress, had linked to an old project of mine that allowed you to work with Ultimate Tag Warrior tags through XML-RPC. Since the inclusion of tagging support in WordPress, Ultimate Tag Warrior has been defunct, and so have the UTW-RPC plugin and associated AutoTag TextMate bundle.…

  • TextMate as WriteRoom, for free

    I use TextMate for editing most of my Markdown. I could name a dozen reasons why this is the case, but let's leave it at auto-pairing, wrapping and the Blogsmith Bundle features. Anyhow, I got a bug yesterday to make TextMate work in "concentration" mode (ala WriteRoom). Not because I think that will improve my writing habits, I just wanted to see if it was possible. A few Google searches later, I have a pretty good solution.…

  • Natural language date conversion for TextMate

    I've been flirting with a plain-text to-do system again. The biggest problem for me is that a plain text system opens up so many possibilities for fiddling and scripting. I always end up fiddling more than working when I try it. I don't see any reason this time would be different, but it's Sunday and I have some extra time on my hands after being snowed in today. So I'm fiddling.…

  • Notational Velocity ALT expatiation (and roadmap)

    I'd just like to put it out there, as someone will eventually: Notational Velocity ALT (henceforth referred to as nvALT) is turning into something antithetical to the original premise of Notational Velocity. I understand that, and I accept it.…

  • Quick Link: Sparkup rocks my world a little

    I just discovered Sparkup (via NetTuts+). It adds the one thing I find lacking in Zen Coding: the ability to traverse backward in a shortcut (among several other improvements).…

  • A TextMate Command for fast abbr tags

    I'm on a roll with stupid scripts today, but it's Saturday... so, whatever. This is a quick command for creating semantic abbr tags in TextMate. It's short, but pretty smart: if your text is a mix of upper and lowercase letters, it will take the uppercase letters, in order, and create an acronym from them and insert an abbr tag, using the original input as the title attribute. If it's one of a couple other scenarios, it will give you the abbr tag setup with your cursor in a logical place to…

  • A quick TextMate KeyBindings tip

    I love the keyboard, and I love keyboard shortcuts. It's one of the reasons TextMate and I get along so well. There's one thing that bothers me any time I'm editing text (in any application), though: having to move my right hand all the way over to the arrow keys just to move forward a couple of characters, say, after an auto-paired set of parenthesis that I want to get out of.…

  • Placeholder image TextMate Snippet

    Yesterday, I posted a quick TextExpander snippet for inserting placeholder images into an HTML layout using placehold.it. I took a minute today to convert this to a TextMate snippet as well, and wanted to share it as I find it immensely useful.…

  • An ode to Twilight, and a TextMate tip

    A good friend of mine, Christina Warren, just published a piece on Mashable / Dev & Design about TextMate themes, and it warms my heart to know there are other people as dedicated to this aging text editor as I am. She also made her collection available on GitHub, so check that out if you're in the market for a new look.…

  • TextMate drag command for Base64 encoding images

    Just a quick hit on this one... when hacking away at the styles of things one probably shouldn't be hacking away at, embedding images right in the CSS is a handy trick. It's done by Base64 encoding the image, removing line breaks from the resulting string, and using it to set the background property for the CSS rule.…

  • Songza Lucky Link Service

    This is a quick and dirty Snow Leopard Service that scrapes Songza.fm to find a song related to your selected text in most applications. It replaces the selected text with an is.gd shortened link and the name of the first song it found (just to be sure you're on the same page... literally). The code is also available as a TextMate command for those interested. Update: TextMate command with link selection popup.…

  • Getting back into real TextMate blogging

    It may take me a while to convert my setup back to the old days of TextMate blogging. I've primarily been blogging for TUAW, which uses a blogging system with very poor XMLRPC support. The end result of this, for me, was the development of an elaborate TextMate bundle which emulated the ease-of-use that TextMate provides to bloggers on Wordpress (and other platforms). I have, I guess, forgotten how to do this. So this post is going to begin as a test, to be continued with some ideas, some tools…