“1 of n” result for Emacs search

前端 未结 4 1603
梦毁少年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条回答
  •  甜味超标
    2021-01-02 22:41

    I saw this the other day:

    https://github.com/syohex/emacs-anzu

    anzu.el is an Emacs port of anzu.vim. anzu.el provides a minor mode which displays current match and total matches information in the mode-line in various search modes.

    The screenshot on the github page is a gif animation of its functionality.

提交回复
热议问题