本文共 893 字,大约阅读时间需要 2 分钟。
emacs c语言 空格
How to replace tabs with spaces in ?
如何在中用空格替换制表符?
You can first select the regions of text for converting/replacing, then run
您可以先选择要转换/替换的文本区域,然后运行
M-x untabify
to replace all tabs with appropriate number of spaces.
用适当数量的空格替换所有选项卡。
There is also a M-x tabify
for replacing sequences of spaces to tabs.
还有一个Mx tabify
用于替换制表符中的空格序列。
There are also commands to tabs to spaces or vice versa, always preserving the columns of all non-whitespace text.
M-x tabify
scans the region for sequences of spaces, and converts sequences of at least two spaces to tabs if that can be done without changing indentation.M-x untabify
changes all tabs in the region to appropriate numbers of spaces.还有一些命令可以制表符为空格,反之亦然,这些命令始终保留所有非空白文本的列。
Mx tabify
扫描区域中的空格序列,并将至少两个空格的序列转换为制表符(如果可以这样做,而无需更改缩进)。Mx untabify
会将区域中的所有选项卡更改为适当数量的空格。
: .
: 。
翻译自:
emacs c语言 空格
转载地址:http://gaowd.baihongyu.com/