我想将命令开放式(CX RO)与它一起添加空间。

似乎一旦我在行开头超过一定数量的空间,它就会生成一个选项卡。

例如:

**With 2 spaces highlighted it moves 2 spaces right (for a total of 4)
  foocode
    foocode

****With 4 spaces highlighted it moves 4 spaces right, but becomes a single TAB
    foocode
        foocode

谢谢大家。

有帮助吗?

解决方案

你只是想 (setq indent-tabs-mode nil) 在您不希望Emacs插入选项卡的缓冲区中。或使用 (setq-default indent-tabs-mode nil) 如果您希望该设置适用于所有缓冲区。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top