开发者

Vim snippets plugin [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

I know there is some vim plugins that implements TextMate-like snippets feature. The popular are: snipMate, snippetsEmu, neocomplcache, UltiSnips and xptemplate.

What开发者_Go百科 is the best and why? Consider using this with others plugins like SuperTab, AutoComplPop and pathogen. Have you ever tried those plugins? What do you prefer?


As with many things, you'll find that personal preference wins out at the end of the day. Personally, I prefer snippentsEmu for one reason: it supports dynamic snippets. For example a Python formatting string "foo %s %s" will (can) dynamically add a placeholder for each %s.

snippetsEmu is certainly not perfect - I have come across a few bugs and annoyances - but it works well with superTab. I honestly don't have much experience with the other plug-ins mentioned (although I believe I've tried them all), so I can't really give a fair comparison.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜