美文网首页
Emacs techniques notes

Emacs techniques notes

作者: kid551 | 来源:发表于2016-09-20 19:41 被阅读0次

    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

          本文链接:https://www.haomeiwen.com/subject/ucmoettx.html