缩小Emacs中的几行 [英] Indent several lines in Emacs

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

问题描述

在我的Emacs中,空格键可以正确缩进1行。如果我选择几行,然后按空格键,缩进就不起作用。

In my Emacs, space key can indent correctly 1 line. If I select several lines, and press space key, the indenting does not work.

按照链接,我尝试 CM-\ CMq ,但 CM 直接删除所选的整个块。

By following this link, I try C-M-\ or C-M-q, but C-M deletes directly the whole block selected.

这是我的 .emacs ,任何人都可以帮忙

Here is my .emacs, could anyone help?

推荐答案

如果您希望Emacs正确缩进多行,则命令为 C-META \\ \\ 也称为 CM-\ 。换句话说,它不是 Control - M ,而是 Control - Meta - 反斜杠控制 + Alt + \ 大多数键盘)

If you want Emacs to correctly indent multiple lines, then the command is C-META \ also known as C-M-\. In other words, it's not Control - M, but Control - Meta - Backslash (Control + Alt + \ on most keyboards)

这篇关于缩小Emacs中的几行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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