Skip to content

aaron-p1/match-visual.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Highlight selected text in all windows

With this plugin, when you select text in visual mode, all instances of that text will be highlighted in all visible windows. This makes it simple and convenient to spot any duplicated text.

match-visual.mp4

Requirements

neovim >=0.7.0

Install

use 'aaron-p1/match-visual.nvim'

Setup (Optional)

require('match-visual').setup({
    -- minimum length of text to match
    min_length = 1,
    -- Visual group to use for highlighting
    -- You could also override the "VisualMatch" hl group manually to change the highlights.
    hl_group = "Visual"
})

About

Plugin to match visually selected text

Topics

Resources

License

Stars

Watchers

Forks

Languages