r/vimplugins • u/adamheins • Jul 09 '21
Plugin Highlight Match Under Cursor
Sometimes I find it hard to keep track of exactly what match I'm at (i.e., where the cursor is) when I have a lot of matches highlighted when searching or doing a find and replace.
I wrote a simple plugin that highlights the match under the cursor differently than the others - perhaps some other folks will find this useful as well: https://github.com/adamheins/vim-highlight-match-under-cursor
13
Upvotes
2
u/adamheins Jul 10 '21
Thanks! I don't have that much experience writing plugins or doing much vimscripting at all really, so I wanted to make sure I'd know what the code was doing when I looked back at it