用于'自动关闭'括号的Vim插件? [英] Vim plugin for 'auto-closed' parenthesis?
本文介绍了用于'自动关闭'括号的Vim插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经搜索了远近,但没有找到一个可以简单地自动关闭一组括号的插件,例如Textmate.例如:
I've searched near and far, and not found a plugin that can simply auto-close a set of parenthesis like Textmate. For example:
Vim : (*manually close parens* → )
Textmate: (*Auto closes parens*)
如果您可以为此描述一个插件,我将非常有帮助.谢谢!
If you can describe a plugin for this, I will be very helpful. Thanks!
推荐答案
尝试使用delimitMate:
Try delimitMate:
https://github.com/Raimondi/delimitMate
这里也列出了一些插件.加上有关自行设置的说明:
Some plugins listed here as well.. Plus instructions on setting it up yourself:
http://vim.wikia.com/wiki/Automatically_append_closing_characters
这篇关于用于'自动关闭'括号的Vim插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文