<-- back RSS Feed
html-modea while back. They function similarly to 'yasnippets' but have a couple of differences which I prefer (although I do also have yasnippets installed). You can create a snippet using
define-skeletonin your init file like so:
This is taken from the
(define-skeleton html-headline-1 "HTML level 1 headline tags." nil
" _ ""
sgml-modesource code. They can then be bound like any other function. The underscore in the skeleton is where the cursor is placed or (and this is the crucial feature for me) where the highlighted text is placed when you run the skeleton.