Useful snippets To install put the following in your emacs init file. (setq yas-snippet-dirs (quote ("snippet directory"))) Assuming that you have yasnippet installed, you can get a list of snippets using yas-describe-tables function