-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 10.08.2006 um 14:26 schrieb Jacob Rus:
I think you want to make a command which, taking into account where you are on the current line, inserts the correct number of spaces. The environment variable is $TM_LINE_INDEX, and you should be able to just insert x - $TM_LINE_INDEX spaces, where x is the next number in your list.
In python this would look something like:
[...]
Bind this to the ⇥ key, set the input to selected text or line, and set the output to insert text, and you should be all set.
Thanks, I don't have time to actually check out if this works as expected, but it really looks promising... :-)
Bye,
Carsten