emacs replace new line
I want to replace an indent style, inserting a "\n" in the middle of "){"
Select all
To select all in Emacs: C-x h.
Emacs string replace
To replace a string, not a regexp: M-x-%.
To make the thing I want
- C-x h
- M-x-%
- ){
- ) C-q C-j {
Then try on one, with "y" and if it's good, make it all with "!".