07.28.06
Posted in TextMate, ruby/rails at 10:25 pm by Haris
Update: This post now hosts two commands, the second one performing aligning operations.
Another entry by the LGFT project. This time, we’ll create a command that allows you to quickly fill rows in columnar editing mode in TextMate with expressions depending on an ever increasing number. For instance we will be able to easily create this:
Hey t1here
Hey t4here
Hey t9here
Not that you would ever want something like that
Anyway, first we’ll see the command, then we’ll see the three modes of usage it has, and finally we’ll talk about how the command works.
Read the rest of this entry »
Permalink
07.07.06
Posted in TextMate, ruby/rails at 4:04 pm by Haris
In the previous tutorial we saw how to load some basic libraries and interact with the user using those. That post was not so much about Ruby as it was about TextMate. In this post we return to talking about Ruby, in particular some of its methods for manipulating strings. Along the way, we’ll see how to use the txmt: scheme.
Read the rest of this entry »
Permalink
07.06.06
Posted in TextMate, ruby/rails at 12:11 am by Haris
In the previous article from this series we learned some basic things about Ruby and how to use it to make TextMate do our bidding. In this post, we’ll see how to use some of TextMate’s Ruby libraries to do more stuff.
Read the rest of this entry »
Permalink
07.04.06
Posted in TextMate, ruby/rails at 11:45 am by Haris
Wanted to hack TextMate by creating new commands, but didn’t know how because you don’t know any scripting languages or how to do magic using the shell? Fear not, this post will show you all (or at least a small fraction of all) you need to know to use Ruby to write new and wonderful commands. No prior knowledge of Ruby is assumed.
Read the rest of this entry »
Permalink
06.25.06
Posted in TextMate, ruby/rails, GTD at 12:17 am by Haris
IMPORTANT UPDATE: The GTDAlt bundle now lives in the Subversion Repository of Bundles for TextMate. You can find details on how to access bundles this way here. The version on my website linked to below will NOT be updated any more.
I apologize for the inconvenience to those of you not using subversion, but I can assure you that following the above instructions is pretty painless, and the benefits to my sanity and general state of mind are too numerous to list here.
Update: You can find a more recent description of the workflow while working with the GTDAlt bundle here. It’s a work in progress.
This is a general help file for the GTDAlt bundle, one of the two bundles for implementing GTD in TextMate. You can also access this file from within the TextMate bundle. This file consists of three parts. The first part is an introduction to the bundle, describing how to use it. The second describes its internals, describing how to extend the bundle. The third is an example of creating a new command.
You can also find some pretty lame screencasts here, as well as a converter to convert your Kinkless GTD project to this format here.
Read the rest of this entry »
Permalink
« Previous entries ·