This post is part of a series:
yasnippet.el in the
1 2 3 4
Here I make sure the
yasnippet package is available then require the package and enable it globally.
You can create your own personal snippets in the
.emas.d/snippets folder. More details in this slightly outdated guide.
I have also installed a set of ruby and rspecs snippets from bmaland’s repo. I simply cloned the repo into the personal snippest folder with name ruby-mode. Note the name is important it needs to match the Emacs mode where the snippets are used.