[TxMt] Automation Questions

James Edward Gray II james at grayproductions.net
Wed Jul 19 17:21:03 UTC 2006


On Jul 19, 2006, at 12:16 PM, Michael Reece wrote:

>
> On Jul 19, 2006, at 8:51 AM, Charilaos Skiadas wrote:
>
>> On Jul 19, 2006, at 10:45 AM, Eric D. Fields wrote:
>>
>>> Hi. I adore texmate to death but I'm trying to get more  
>>> automation out
>>> of it. I know that there's a keyboard shortcut to close the last
>>> previously opened tag, but is it possible get TM to close all the  
>>> tags
>>> on the current line you're working on? So i can be writing
>>> <li><a><span> and with a keystroke or two get </span></a></li>.
>>
>> I'll let someone else tackle that one. I've never found it to be a  
>> problem, since I generate all my tags via ctrl+< , hence they are  
>> always paired to begin with.
>>>
>
> i am trying to figure out how this can be efficient, maybe i am  
> doing something wrong.
>
> to get <span class="junk"><a href="bogus.html">blah blah</a></span>
>
> i type span[ctrl+<] which gives me <span>[cursor</span> so i have  
> to press [left-arrow] class="junk"[right-arrow]
> and likewise for a[ctrl+<][left-arrow] href="bogus.html"[right- 
> arrow]blah blah
>
> am i missing some other way to use this shortcut?

Yep.  Push control-< before you type a word.  ;)

Both modes are handy in different situations.  Worth getting the hang  
of.

James Edward Gray II



More information about the textmate mailing list