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
use 'aaron-p1/match-visual.nvim'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"
})