在Emacs中的包围字符中选择文本 [英] Wrapping selecting text in enclosing characters in Emacs

查看:116
本文介绍了在Emacs中的包围字符中选择文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Textmate中,我可以通过选择它并打开开头的字符来包围文本周围的(','','''等等),例如,如果我选择 并点击,它将成为(word)。Emacs称之为如何启用?

In Textmate I can wrap enclosing characters ('(', '[', '"', etc.) around text by selecting it and hitting the opening character. For example, if I select word and hit (, it will become (word). What does Emacs call this feature and how do I enable it?

推荐答案

Autopair是这些工具中最好的一种。

Autopair is the best one of these tools

https://github.com/capitaomorte/autopair

这篇关于在Emacs中的包围字符中选择文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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