如何使用emacs中的[delete]键删除区域 [英] how to delete region with [delete] key in emacs

查看:211
本文介绍了如何使用emacs中的[delete]键删除区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mac OS X Lion上使用Emacs 23.3。如何使用简单的键入键删除所选的文本区域,像 delete C-d ?这在Windows上工作,没有任何具体的设置。如何在Mac OS X Lion中实现?

解决方案

尝试 Mx CUA模式。这将改变很多关于Emacs行为适应其他GUI应用程序行为的方式。有关详细信息,请参阅 MS - : (信息(emacs)CUA绑定)



您可以持续使用 Mx customize-option RET cua -mode


I am using Emacs 23.3 on Mac OS X Lion. How can I delete the selected text region with simple key typing—something like delete or C-d? This works on windows without setting anything specific. How can I implement that in Mac OS X Lion?

解决方案

Try M-xcua-mode. This will change a lot of things about the way Emacs behaves to fit the behavior of other GUI applications. For more information, see M-S-:(info "(emacs) CUA Bindings").

You can turn it on persistently with M-xcustomize-optionRETcua-mode.

这篇关于如何使用emacs中的[delete]键删除区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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