[TxMt] Input Patterns [and keybindngs]?

Steve Lianoglou lists at arachnedesign.net
Tue Apr 5 22:22:28 UTC 2005


> 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.

Yeah ... I know it be might tricky at times to trigger things on a space, but some things you just don't type that often .. like 'fr ', or 'swt ' (for a switch statement) .. or 'fnc ' .. for a function-snippet trigger (well, at least not in English anyway ... sometimes it does catch me but I've been able to work around it with a little dance about the arrow keys and some carefully placed spaces here and there -- really infrequent, tho)

But your suggestion is interesting ... are you saying I should bind the ctrl-space 'chord' to the tab key so I can use the already-in-there TextMate Tab-expansion triggers?

That might be a good workaround for me for the time being ... I remember coming accross something about a KeyBinding file that I can mess around w/ ... I think someone said it was in ~/Library/KeyBindings ... though I don't have one there ... I could make one, but I wouldn't know what to put in there ... hmm .. maybe google can help on that one.

But if anyone would like to cater to the lazy man and has any insight, it would be much appreciated.

>><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; }


... riiiiiight .. next thing you're going to tell me is that I don't need to wrap something in a table just to put a border around it ... 

-steve



More information about the textmate mailing list