Ross Harmes has created a cracking bundle to make working with the YUI in Textmate even easier. If you are working with the YUI and Textmate is your editor of choice then you'd better go grab yourself a copy. Available from the SVN repo directly or through the getBundle Bundle. See Ross' site for more info.