-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Key bindings are not consistent across all providers #864
Comments
Thanks for the question, this's unfortunately expected behavior for now, for clap currently only provides a default implementation for the providers whose item is file-like and the provider needs to state it explicitly (https://github.com/liuchengxu/vim-clap/blob/8e47e5b8ab/autoload/clap/provider/grep2.vim), which is not extensible. I can imagine it can be improved in such a way that defining generic key binding traits each provider can implement on its own. However, still, not all the providers can support Ctrl-c/x/t at the end of the day as not all items make sense to be opened in a split or tab. |
Instructions: Replace the template text and remove irrelevant text (including this line)
Warning: if you don't fill this issue template and provide the reproducible steps the issue could be closed directly.
Environment (please complete the following information):
Describe the bug
With some providers I can use Ctrl + v; Ctrl + x; Ctrl + t to open a split or tab, but this doesn't work for all providers.
For example, it works with
files
but notfiller
, it works withgrep2
but not withcoc_outline
orcoc_diagnostics
or when usingClap
withcoc-references
...The text was updated successfully, but these errors were encountered: