How to replacing a string with another string with newline in Emacs?

For example, to replace:

good editor

with

good editor:
Emacs

What you need is actually to input a newline in Emacs:

C-q C-j

C-q is for quoted-insert, and C-j is a newline (0xa).

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *