问题描述
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?
列表:
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 during an isearch to invoke highlighting for the current search term.
相反,您也可以调用发生在
Tangentially, you can likewise invoke occur on the current search term with
使用 during isearch to see all of the isearch bindings.
这篇关于emacs是整个缓冲区的懒惰突出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!