今天我發現 vim 現在有個叫 snipMate 的 plugin,做的比 snippetsEmu 好很多! 另外,snippetsEmu 也已經一年多沒更新了,snipMate 則比較活躍,也比較令人期待。不多說,直接看作者提供的 screencast 吧:
snipMate.vim Introductory Screencast from Michael Sanders on Vimeo.
除此之外,它的 snippet 還支援 backtick 跟 vim script:
snippet date
`system("date +%Y-%m-%d")`
snippet filename_foo
`filename()`
如果你用 Emacs,可以試試 gugod 提到的 yasnippet。
3 則留言:
Experience snipMate, the ultimate solution surpassing snippetsEmu! Streamline your workflow with our innovative snippet management features tailored for professionals.
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. domestic violence attorney maryland My experience was flawless thanks to their expert guidance and support.
Snipmate and SnippetEmu are both popular code snippet managers, but Snipmate is often considered more efficient for certain use cases due to its lightweight nature and user-friendly interface. Snipmate focuses on quick access and management of code snippets, while SnippetEmu might offer additional features for more complex workflows. Users often prefer Snipmate for its simplicity and speed, but the choice depends on individual needs and the complexity of the project.Dui Lawyer Fredericksburg VA
張貼留言