A collection of additional providers for the excellent fuzzy finder/selector VIM plugin vim-clap.
The Implementations could probably be improved, especially handling of corner cases, invalid values, etc.
The LSP providers use the Vim9script based LSP client plugin from @yegappan and also reuse some code from it. I've only tested them with a couple of language servers so far, mainly with clangd but also with pylsp, bash-ls, vimls, marksman, vscode-json-server, vscode-html-server, vscode-css-server.
Command | Lists | Action | Dependencies |
---|---|---|---|
tasks |
tasks definitions | execute task | asynctasks.vim |
lsp_symbols |
LSP workspace symbol live query | go to symbol definition | yegappan/lsp |
lsp_doc_symbols |
LSP document symbols | go to symbol definition | yegappan/lsp |
unicode |
unicode code points | insert selected unicode character | unicode-data |
thesaurus |
thesaurus entries for word under cursor | replace word under cursor with selection | aiksaurus |
Instead of lsp_doc_symbols
you can also use vista.vim
which automatically enables the Clap tags
provider to search LSP document symbols.
Command | Lists | Action |
---|---|---|
args |
arg Files from :args |
open file |
changes |
change locations from :changes |
go to change location |
chistory |
quickfix history from :chistory |
load corresponding quickfist list |
lhistory |
location list history from :lhistory |
load corresponding location list |
envar |
environment variables and their values | insert ${VARNAME} into current buffer |
highlights |
syntax highlight groups and their values | go to where active values were defined |
messages |
recent messages from :messages |
insert message into current buffer |
options |
all VIM options and their values | toggle or prompt for new value |
packages |
optional VIM packages | packadd selected package |
spellfix |
spell suggestions for word under cursor (like z= ) |
apply spell fix to word under cursor |
tabs |
UI tabs | go to tab |
undo |
undo points from :undolist |
go back to undo point |