“1 of n” result for Emacs search

前端 未结 4 1609
梦毁少年i
梦毁少年i 2021-01-02 22:16

When I use incremental search in emacs I can\'t know where I am in whole matches. In Chrome browser it says location using \"2 of 30\". How can I do that in Emacs?

4条回答
  •  猫巷女王i
    2021-01-02 22:51

    Out of the box, you can use M-so while isearching to at least see the total number of matches (even if it unfortunately isn't smart enough to track the match that you're on in the original buffer).

提交回复
热议问题