Snippet in Sublime.md Posted on 2019-11-22 In tools Quick tip: Using a Sublime Text 2 code snippet siaf to quickly insert a self-invoking anonymous function. You can find the option in the menu (Windows OS): Tools → New Snippets… 123456789101112<snippet><content><![CDATA[// function:(function(){ $0})();]]></content><tabTrigger>siaf</tabTrigger></snippet> Named it siaf.sublime-snippet.