[TxMt] HTML bundle & HTML usage ( Was: Input Patterns?)

Allan Odgaard allan at macromates.com
Tue Apr 5 21:23:16 UTC 2005


On Apr 5, 2005, at 22:58, Mats Persson wrote:

>> Don't get me wrong, I am lazy :D but I find typing <h1> A HEADER and 
>> then hitting opt+cmd+"."  to close the tag much easier than inserting 
>> a snippet called "<h1>" .
> Personally I find typing  h1 + [tab] and then the content within the 
> <h1></h1> tags much faster with a second tab out of it. ( I set the 
> official <hN> snippets to h1-6 as the tab triggers)

Actually, there's a macro on ctrl-space that turns word + ctrl-space 
into <word></word> with caret in between. It's even smart enough to 
recognize br, hr, img etc. and will turn br + ctrl-space into <br />.




More information about the textmate mailing list