[TxMt] Input Patterns?
Jeroen van der Ham
jeroen at je-ju.net
Tue Apr 5 08:23:14 UTC 2005
On 05-04-2005 09:22, Steve Lianoglou wrote:
>
> On Apr 4, 2005, at 11:56 PM, Jeroen van der Ham wrote:
>
>> Why would you want to setup a snippet for <br /> ?
>> If you're using too many br-tags in your HTML document, you're not doing
>> it right...
>
>
> Thanks for the lesson in semantic web development, Jeroen .. but it was
> just meant to be a trivial example to get the question across.
Sorry, just couldn't resist and there are still so many people out there
doing it wrong...
> I'd like 'fr ' to expand into my for-loop snippet, as opposed to hitting
> the tab to trigger the expansion ... I just find it to be easier on my
> fingers to hit the space bar w/ my fat thumb ... for some reason I
> always find hitting the tab key a bit awkward ... my hand moves out of
> position and my pinky/wrists start to complain after a while is all ...
However, if you would have space as expansion trigger, then you will have
trouble typing just 'fr'. Eclipse uses ⌘-Space for it, might be a nice
alternative.
I believe there is a file in TextMate containing keybindings, but I
forgot where it was.
> <img src="/images/clear.gif" width="${1:width}" height="{2:height}"
> alt="Make some Room" />$3
Aaargh! Use XHTML and CSS !
<div class="makeSpace"/>
css:
.makeSpace { width=x; height=y; }
;-)
Jeroen.
--
"We apologize for the inconvenience"
(See "The Hitchhikers Guide to the Galaxy")
More information about the textmate
mailing list