Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
vim-illuminate
illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
For jumping using n/N there's a few possibilities, sending the references to the quickfix list let's you use :cnext, :cprev and friends to jump between them. If you want to use n/N then maybe https://github.com/jonatan-branting/nvim-better-n can help you, although implementing it yourself is not that hard basically just keep a global variable of what the last action was (you'll have to remap /?*#) and remap n/N to your own function that looks at that and does stuff. You could also use hydra.nvim to create temporary mappings for n/N
I can recommend glance.nvim for this https://github.com/dnlhc/glance.nvim
vim-illuminate (https://github.com/RRethy/vim-illuminate) might be what you're looking for. It also has Alt-N/Alt-P mappings by default for jumping between matches.