I was watching the free NetTuts (short U sound, oddly) “30 Days to Learn jQuery” series and Jeffery Way uses a SublimeText 2 code snippet “siaf” to quickly insert a self-invoking anonymous function.

If you’re a mac user, save this in
HD>Users>machinename>Library>Application Support>Sublime Text 2>Packages>User with whatever name you like that ends with .sublime-snippet

Grab from <snippet> to </snippet>
I named it siaf.sublime-snippet because I’m clever like that!





siaf