In my opinion, by far the worst thing about neovim at the moment is the difficulty in debugging issues with plugins.
I would like to get a few things setup to make this slightly less agonizing.
For one, there is a complicated key-binding which I am unsure how to make: I want to be able to call verbose
for exactly the context I’m currently in. For example, I am having an issue with nvim-cmp
right now where tab
completion sometimes mysteriously stops working. I need to see what is setting the tab function, but if I do e.g. :verbose imap <tab>
it gives me nothing, because the binding is only made when pumvisible
.
So, are there any wizards around who can help me make a binding which reliably tells me information about another binding? For example, suppose I am typing some code, and without changing modes or anything like that, I want to type e.g. <C-a> [bound-key]
where [bound-key]
is the key I’m trying to figure out.