Skip to content

juanjux/evil-search-highlight-persist

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Emacs Evil-Search-Highlight-Persist Minor Mode

IMPORTANT: this project is currently unmaintained; I went back to Vim as my main editor. If someone want to take over this just fork and we can update the elpa links.

This Emacs extension will make isearch and evil-ex-search-incremental (the "slash search") to highlight the search term (taken as a regexp) in all the buffer and persistently until you make another search or clear the highlights with the search-highlight-persist-remove-all command (default binding to C-x SPC). This is how Vim search works by default when you enable hlsearch. This extension requires the "highlight" extension.

To enable:

(require 'highlight)
(require 'evil-search-highlight-persist)
(global-evil-search-highlight-persist t)

;; To only display string whose length is greater than or equal to 3
;; (setq evil-search-highlight-string-min-len 3)

IMAGE

About

Emacs minor mode to highlight search results in all the buffeer until you clear them or make another, like Vim hlsearch option.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •