Monday, November 11, 2013

Snipmate

If you like Textmate Snippits, consider installing Snipmate. From the Github page.

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:

Judson said...

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.

Nikola Valentinov Petrov said...

For me https://github.com/SirVer/ultisnips is much better. Have a look at it - not sure why so many people still use snipmate

Anonymous said...

Ultisnip is more powerful, IMHO.