TextMate’s JavaScript bundle has been getting some love from me this week. I am not presenting anything new here, but I often find gems hidden within the Bundles in TextMate that speed up my development.
f + tab
This creates an anonymous function, which is great when using jQuery or many other JS libraries out there. I tweaked mine to remove the semi-colon at the end.
functionname+shift+return
If you type out the name of your function, then immediately hit Shift + Return, TextMate will convert it into a function.
fun+tab
Construct a function with tab stops.



