Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Emacs 中进行搜索(C-s增量搜索)时,查看结果的数量可能很有用。我试图找到一种方法来做到这一点,但我似乎找不到任何方法。有没有人有什么建议?
C-s
ioccur逐步列出您提供的正则表达式的多个结果。它们列在另一个缓冲区中,但这使您可以轻松地跳转到每个匹配项。
您可以运行count-matches以获取匹配数。增量搜索是增量的,它是增量搜索的。
count-matches