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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容