Replacing with a string with newline in Emacs?

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

For example, to replace:

good editor

with

good editor:
Emacs
asked Jun 23, 2014 by Eric Z Ma (43,500 points)

1 Answer

 
Best answer

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).

answered Jun 26, 2014 by Eric Z Ma (43,500 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...