-
Notifications
You must be signed in to change notification settings - Fork 152
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
Feature request: Support for local leader #35
Comments
Can you clarify specifically what doesn't work right now? |
If you had issues with the default |
Hi, and sorry for the slow response! My local leader is set to semicolon ( Forgive me, but I'm not clear on what you mean by the suggestion above about using |
Nevermind the buffer stuff. That's needed if you want buffer-local mappings. Using Can you post a bit more about your (code) configuration? Specific keymapping that doesnt work? Are you certain you define your maplocalleader before setting any keymaps? Are you using the latest version of WhichKey? |
My entire nvim setup is here, but the specific file for those mappings is here. It's the first thing that happens on init other than defining a few helper functions. And with your guidance, I think I found the problem. Since When I remove that line then whichkey works as expected. The strange part, though, is that I do the exact same thing with space (which is my leader), but whichkey doesn't seem to mind either way in that case. |
I just pushed a change. WK never creates hooks for keybindings that already exist. Your It worked for I just changed it so that keybindings are allowed to be overwritten when they are effectively |
Oh, right, I completely forgot about that. Using Anyway, I tested this and it works perfectly. Thank you for the speedy fix! |
Great, thanks! |
Hi! I just wanted to say thank you for this plugin. I've been using the old which key for a while. But when I recently ported over my config to lua, I found that there was a lot of functionality I would like that wasn't quite there. And this plugin has a lot of that, so thank you!
Anyway, everything is working great, but I'd like to request that
<LocalLeader>
be supported the same way that<Leader>
currently is.Thanks, again!
The text was updated successfully, but these errors were encountered: