-
Notifications
You must be signed in to change notification settings - Fork 153
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
invalid mode shortname #12
Comments
Thank you for reporting. When exactly does this error appear? Just tried your config and it works. Is there a certain prefix that triggers this error? |
hmmm. it happens immediately upon pushing the leader key. maybe there's a leftover parameter or clash somewhere from another which-key plugin. i'll debug some more to isolate it. |
Just to be sure you don't call |
It also seems to effect the |
ok ya that definitely is it. |
@klooj great. Can you show the exact keympaping you had in place that caused this? I'll see if I can show a warning when someone else has leftovers from vim-which-key and handle it properly |
I had this |
That definitely caused it. You don't need to set any special keymaps for WhichKey to work. |
Your first 4 lines in the first screenshot are |
You are correct. When using certain gui's for nvim, they mess with the mapping of leader keys. So I put that in there to take control of the situation. I thought I called that function before loading any plugins but apparently my timing is off. Not a big deal at all though, rarely use a gui anymore. Getting the perfect portable vimrc is comically similar to whack-a-mole. |
this plugin is great. everything is working and I was able to jettison two plugins (vim-peekabo and vim-signature). three plugins for the price one. fwiw, you may want to use |
Is this on me?
To give this plugin a quick test run, I tried setting it up for descriptions only. So
use {'folke/which-key.nvim', config = [[require('wk')]]}
require('maps')
The text was updated successfully, but these errors were encountered: