emacs isearch lazy highlight for whole buffer

大城市里の小女人 提交于 2019-12-06 03:18:29

Perhaps you are looking for the highlight-* commands, to keep things highlighted throughout the buffer whilst you perform other actions?

M-shC-h lists:

Global Bindings Starting With M-s h:

key             binding
---             -------
M-s h l         highlight-lines-matching-regexp
M-s h p         highlight-phrase
M-s h r         highlight-regexp
M-s h u         unhighlight-regexp

You can also use M-shr during an isearch to invoke highlighting for the current search term.

Tangentially, you can likewise invoke occur on the current search term with M-so

Use C-hC-hb during isearch to see all of the isearch bindings.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!