[TextMate] Snippets, and Selected Text

Noel D.Jackson noel at noeljackson.com
Wed Oct 6 18:52:38 UTC 2004


I've already submitted this to "the boys", however I figured i'd bring 
it up here.

For a snippet, there should be a variable say "$s" that references the 
text selected when the snippet was acted on, so that say, if I select 
noel at noeljackson.com and click on my href snippet, it will replace $s 
with noel at noeljackson.com, allowing easy creation of headers etc in 
HTML without going back, or creating macros.


-Noel




More information about the textmate mailing list