Randy Ridenour has risen to the challenge from the latest Emacs Carnival on obscure Emacs packages. His candidate is the Yankpad package. I vaguely remember hearing about Yankpad (edit: I mentioned it here) but didn’t remember anything about it so I’m glad Ridenour mentioned it.
The TL;DR is that Yankpad is a sort of reimagined YASnippet by Erik Sjöstrand. It’s like YASnippet but different. One difference that I really like is that all the snippets are kept in a single Org file. That makes it easy to add, delete, and edit snippets.
Another difference is that instead of being organized by major mode as YASnippet is, Yankpad is organized by “categories”, which are groupings that you define. Those categories can be things like projects, classes, email, or whatever makes sense to you. You can also have global categories for snippets that you want available everywhere.
Another nice thing about Yankpad is that if you have YASnippet installed, Yankpad will pass its expanded text through it. That means things like YASnippet’s tab stops and escape into Elisp will work with Yankpad too. It seems like the best of two worlds.
There are several ways of specifying expansions and ways to trigger them. It seems like the typical “scratch an itch” project. Every time Sjöstrand needed a new feature or another way of adding snippets, he simply added it. The result is a nice package that can meet most or all of your snippet needs. Take a look at Ridenour’s post or the Yankpad GitHub repository for the details.