SnipMate aims to provide support for textual snippets, similar to TextMate or other Vim plugins like UltiSnips. For example, in C, typing for<tab> could be expanded to:
for (i = 0; i < count; i++) { /* code */ }The project linked above appears to be a fork of the original plugin, but it's up to date, and it works!
3 comments:
Having tried Snipmate, I much prefer Ultisnips! First: there's an option to override snippets, so you can use the defaults for most things and then alter them to taste. Second: live updates! Nothing makes snippet expansion so useful as being able to tweak the snippet and try it on live code.
For me https://github.com/SirVer/ultisnips is much better. Have a look at it - not sure why so many people still use snipmate
Ultisnip is more powerful, IMHO.
Post a Comment