Skip to content

kakoune plugin to highlight all occurences of the selection

Notifications You must be signed in to change notification settings

xeniagda/quick-highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

quick-highlight

screenshot of plugin, highlighting the text "qhl" in the source of the plugin

This is a kakoune plugin for highlighting all occurences of your selection in the document. The plugin provides the following commands:

  • :qhl-word: Highlights all occurences of the word under the cursor.
  • :qhl-sel: Highlights all occurences of the main selection.
  • :qhl-sel-nob: Same as the above, but ignores word boundaries.
  • :unqhl: Removes the highlight.

The package also registers the face QhlHighlight, which defaults to the color #55055, a dark purple.

Recommended bindings are

map global user '&' ':qhl-word<ret>' -docstring "Highlight current word"
map global user '"' ':unqhl<ret>' -docstring "Remove highlight"

About

kakoune plugin to highlight all occurences of the selection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published