Emacs techniques notes

As I have to deal with the plain text file in Windows and I want to solve this issue with elegant behavior, I know I need to choose the tool Vim or Emacs. This time, the Windows platform has helped me make my decision, the Emacs. Comparing with Vim, I think there's much less deployment work to start my work.

I won't finish this post at once. In fact, I prepare to add contents in this post as I learned new skills of Emacs.

Replace String

Here I need to replace the newline with space, and replace 'XXX:' as '[newline]XXX:'.

M-x replace-string C-q C-j RET [Space] RET

- 'C-q Cj' represents newline.
- 'RET' represents keyboard Enter
- '[Space]' just as keyboard Space

Special characters:

- FF, page break: 'C-q C-l'
- Br

Move this part to https://kid551.github.io/2016/10/20/emacs-cmd/ .

你可能感兴趣的:(Emacs techniques notes)