Closed henryoliver closed 1 year ago
That can't work.
You've bound <leader>ic
to "ChatGPT". in the init
function. That will never load ChatGPT
.
Doing <leader>i
will load it as you have specified, but that's probably not what you want.
Just all the keymaps in keys
, you can use desc = "ddd"
so it will show correctly in which-key.
No need to register those mappinsg again in which-key
@folke in this example <Leader>i
is NOT loading the plugin at all. Any subsequential key will fail so there will be no <Cmd>
available from the plugin. Make sense?
The repro does load on leader i for me. Anyway what you have there is not what you want. Read the docs. You'll figure it out
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.8.3 Build type: Release
Operating system/version
MacOs 13.2.1 (22D68)
Describe the bug
What is wrong with this code here? Why don't the
keys
load the plugin?It should be straightforward. Whatever the user hits the "key", lazynvim should load the plugin.
Steps To Reproduce
Expected Behavior
Should load the plugin.