emacs是整个缓冲区的懒惰突出 [英] emacs isearch lazy highlight for whole buffer

查看:127
本文介绍了emacs是整个缓冲区的懒惰突出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

isearch的默认行为突出显示当前窗口中匹配的世界。
我如何改变这种行为,让它突出显示整个当前缓冲区中匹配的世界。

the default behavior of isearch was highlighting the world that matched in current windows. how can i change that behavior, let it highlighting the world that matched in the whole current buffer.

推荐答案

您正在寻找highlight-*命令,以便在执行其他操作时将整个缓冲区中的内容突出显示。

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

Ms h 列表:

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

您还可以使用 Ms h r 在搜索期间调用当前搜索字词的突出显示。

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

相反,您也可以调用发生在 Ms o

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

使用 Ch Ch b'/ kbd>在搜索期间查看所有的搜索绑定。

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

这篇关于emacs是整个缓冲区的懒惰突出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆