1. Frank Fischer
  2. vim-mode
  3. Issues
Issue #16 resolved

interactive search/replace

Frank Fischer
repo owner created an issue

search and replace (the ex-command :s) should both interactively highlight the occurrences of the pattern. Perhaps this is possible by using function from hl-search.el, perhaps this stuff has to be reimplemented if the interface of hl-search.el is not sufficient.

Comments (1)

  1. Frank Fischer reporter

    close #16: implement interactive search/replace

    • the search command '/' uses the internal highlight-framework instead of isearch
    • the highlighting of matches of last search must be disabled using :noh[lsearch]
    • search patterns of the substitute command :s can be highlighted as for usual search
    • replacements of the substitute command can be shown interactively
    • fix #10: cursor is now always placed on the first character after a search command


  2. Log in to comment