Is there a way to easily insert a snippet when a certain keybinding is activated? AFAICT, official documentation suggests setting: #binding:
directive, smth like this:
#name : <p>...</p>
#binding: C-c C-c C-m
# --
<p>`(when yas/prefix "\n")`$0`(when yas/prefix "\n")`</p>
It's not working for me, however. Any ideas on what may cause the problem?
EDIT
I'm using GNU Emacs 24.0.93.1 with Yasnippet grabbed from GitHub repo.