An open API service indexing awesome lists of open source software.

https://github.com/muellan/vim-clap-more

additional providers for fuzzy finder/selector vim-clap
https://github.com/muellan/vim-clap-more

vim vim-clap vim-lsp vim-plugin

Last synced: 7 days ago
JSON representation

additional providers for fuzzy finder/selector vim-clap

Awesome Lists containing this project

README

          

# vim-clap-more

A collection of additional providers for the excellent fuzzy finder/selector
VIM plugin [vim-clap](https://github.com/liuchengxu/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](https://github.com/yegappan/lsp)
from [@yegappan](https://github.com/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.

## Providers

| Command | Lists | Action | Dependencies |
| ----------------- | --------------------------------------- | ---------------------------------------- | ------------------------------------------------------------------ |
| `tasks` | tasks definitions | execute task | [asynctasks.vim](https://github.com/skywind3000/asynctasks.vim) |
| `lsp_symbols` | LSP workspace symbol live query | go to symbol definition | [yegappan/lsp](https://github.com/yegappan/lsp) |
| `lsp_doc_symbols` | LSP document symbols | go to symbol definition | [yegappan/lsp](https://github.com/yegappan/lsp) |
| `unicode` | unicode code points | insert selected unicode character | [unicode-data](https://repology.org/project/unicode-data/versions) |
| `thesaurus` | thesaurus entries for word under cursor | replace word under cursor with selection | [aiksaurus](https://repology.org/project/aiksaurus/versions) |

Instead of `lsp_doc_symbols` you can also use [vista.vim](https://github.com/liuchengxu/vista.vim)
which automatically enables the `Clap tags` provider to search LSP document symbols.

| Command | Lists | Action |
| ------------ | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| `args` | arg Files from [`:args`](https://vimhelp.org/editing.txt.html#%3Aargs) | open file |
| `changes` | change locations from [`:changes`](https://vimhelp.org/motion.txt.html#%3Achanges) | go to change location |
| `chistory` | quickfix history from [`:chistory`](https://vimhelp.org/quickfix.txt.html#%3Achistory) | load corresponding quickfist list |
| `lhistory` | location list history from [`:lhistory`](https://vimhelp.org/quickfix.txt.html#%3Alhistory) | 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`](https://vimhelp.org/message.txt.html#%3Amessages) | insert message into current buffer |
| `options` | all VIM options and their values | toggle or prompt for new value |
| `packages` | optional VIM packages | [`packadd`](https://vimhelp.org/repeat.txt.html#%3Apackadd) selected package |
| `spellfix` | spell suggestions for word under cursor (like [`z=`](https://vimhelp.org/spell.txt.html#z%3D)) | apply spell fix to word under cursor |
| `spellbad` | misspelled words | go to location of misspelled word |
| `tabs` | UI tabs | go to tab |
| `undo` | undo points from [`:undolist`](https://vimhelp.org/undo.txt.html#%3Aundolist) | go back to undo point |