The SnipMate plugin aims to mimic the popular snippets feature in TextMate, which allows you to type a sequence of characters, and then automatically expand to a full block of code or html by pressing
Tab. It's incredibly helpful.
Once installed, you only need to type the desired snippet trigger, and then press
Try visiting your
~.vim/snippets directory for an overview of all the available shortcut keys. You can even create your own!
If the above snippet is placed within the
HTML.snippets file, you'll then be able to create a
bla element by typing the shortcut,
Note: When creating new snippets, you'll need to either restart Vim, or open a new window before testing.