[TxMt] Auto-close markup
Fred B.
fredb7 at starflam.com
Sun Jan 8 23:01:59 UTC 2006
On 08 Jan 2006, at 23:51, Trevor Harmon wrote:
> Hi all,
>
> jEdit has a plug-in for its HTML/XML mode that automatically closes
> the current markup block. For instance, if you have this:
>
> <html>
> <body>
> <h1>
>
> And then you hit the hotkey, "</h1>" will be inserted automatically.
>
> I thought I remembered reading something in the TextMate manual
> about an identical feature, but I can't find it now. I know that
> there's an "Insert Open/Close Tag (with Current Word)" command, but
> that's not quite the same.
>
> Thanks,
>
> Trevor
>
You're looking for "Insert Closing Tag" in the Automation menu.
"Cmd + Opt + ." by default.
--
Fred
More information about the textmate
mailing list