Provides keymaps to quickly fly around your source code
]q -> cnext
[q -> cprevious
]Q -> cfirst
[Q -> clast
]l -> lnext
[l -> previous
]L -> lfirst
[L -> llast
]w -> next diagnostic
(by worst severity, e.g. skips warnings if there are any errors)[w -> prev diagnostic
]v -> next document highlight
(highlighted byvim.lsp.buf.document_highlight()
)[v -> prev document highlight
(highlighted byvim.lsp.buf.document_highlight()
)]M -> next methods
prompts for selection; requires nvim-qwahl[M -> prev methods
prompts for selection; requires nvim-qwahl
For each category there is also a <leader>]<key>
variant that will enter a
"move-mode". In this mode you can continue navigating with just ]
or [
.
Turning something like ]q ]q ]q ]q ]q
into <leader]q ] ] ] ]
An exception for that is ]M
, which instead has a <leader>]m
which jumps
between methods without prompt.
git clone \
https://github.com/mfussenegger/nvim-overfly.git \
~/.config/nvim/pack/plugins/start/nvim-overfly
No setup required.
Fork it and edit the code in plugin/overfly.lua
Thanks, but no
Keep them
You are on your own