emacs 替换输入字符
How to replacing a string with another string with newline in Emacs?
For example, to replace:
例如,替换为:
goodeditor
with
与
good editor:
Emacs
What you need is actually to input a newline in Emacs:
您实际上需要在Emacs中输入换行符:
C-q C-j
C-q
is for quoted-insert, and C-j
is a newline (0xa
).
Cq
用于带引号的插入,而Cj
是换行( 0xa
)。
Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。
翻译自: https://www.systutorials.com/replacing-with-a-string-with-newline-in-emacs/
emacs 替换输入字符