用于“自动关闭"括号的 Vim 插件? [英] Vim plugin for 'auto-closed' parenthesis?

查看:19
本文介绍了用于“自动关闭"括号的 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_closure_characters

这篇关于用于“自动关闭"括号的 Vim 插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆