Wondering what you guys are using, if any, for storing code snippets. I'd like to able to type a keyword and hit a special keyboard shortcut and voila, my code snippet is pasted into whatever application window I'm typing in. It would be best if it would let you define parameters that can change within the snippet. I mainly need this when I write ad-hoc SQL queries but love to be able to use it in any application.
Any suggestions? Thanks