之前的文章介绍了如何在Emacs中高亮符号,一般运行 M-x unhighlight-regexp 来选择其中一个符号去高亮。
那么如何去高亮当前Buffer中所有的符号呢?方法是运行 C-u M-x unhighlight-regexp 。
这里总结一下符号高亮常用的操作:
M-s h .orhighlight-symbol-at-point高亮当前符号。
M-s h lorhighlight-lines-matching-regexp高亮匹配的正则表达式的所有行。
M-s h porhighlight-phrase高亮匹配的短语。
M-s h rorhighlight-regexp高亮匹配的正则表达式。
M-s h uorunhighlight-regexp去高亮匹配的正则表达式。
C-u M-s h u去高亮当前Buffer中所有的已高亮符号。
Related
Better capture template for blog post
An org capture template to create post file in blog directory, and insert some front matters.
Emacs中记笔记
Denote is a simple note-taking tool for Emacs.
Emacs中高亮关键字
Use font-lock to highlight keywords.