我如何获得Vim自动句末括号? [英] How do I get Vim to automatically put ending braces?
本文介绍了我如何获得Vim自动句末括号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
虽然编辑 .scm
文件这将是巨大的,如果Vim中会自动把结束括号)
尽快我开始(
。我该怎么办呢?
While editing .scm
files it would be great if Vim would automatically put the ending brace )
as soon as I start (
. How do I do this?
推荐答案
您可以在开括号映射到自己的喜好:
You can map the opening brace to your liking:
:imap ( ()<left>
这篇关于我如何获得Vim自动句末括号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文