-
Notifications
You must be signed in to change notification settings - Fork 60
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
Slimv with which-key #108
Comments
Sorry, but this is the first time I heard about which-key, and I don't quite understand this issue. Could you please describe it in more detail? Slimv has the Unfortunately there is no similar option for paredit at the moment. |
which-key is a leader guide that allows the creating of a menu system for the leader and local leader key bindings It allows creating a map as so, which gives the ability to hide groups of functionality behind a single binding. Then use a further level of bindings after the initial is pressed. l in this case is "lsp" which as you can imagine contains alot of keybindings, but in the screenshot below appears as a single "l" group let g:which_key_map.l = { However given the amount of keybindings enabled by Paredit and slimv by default it pollutes the menu somewhat. In this case the steps would be to disable the keybindings for the plugin and build them again using an object just like above. So two questions.
Thanks |
Thank you for the explanation. When you say you want to disable all keybindings, do you mean only the bindings starting with Regarding your questions:
|
Thankyou for this. I am tempted to leave it all as is. It would just be great to get them named nicely in the which-key config so its all easier to read. Should I leave this open and we can close it when you have had time to add the option you spoke about to paredit? Thanks so much. |
I added two new options: Example usage:
By default functions |
Maybe this is worth a separate ticket, but which-key.nvim appears to also have issues, even when explicitly calling |
TBH I still don't know much about which-key (and, as a matter of fact, about nvim), but as I understand it handles keybindings, so if you experience problems also when directly entering the command (without using any keybinding), then this issue does not seem to be related with which-key. |
Hi,
Have you had experience using this plugin with which-key? It seems to have a lot of default key bindings which pollute the which-key leader and local leader menus.
Is it possible to disable all key bindings somehow so I can create my own menu map with which-key?
If so is there a list of commands somewhere I can use when rebinding the key bindings? At the moment they appear as so in which-key
I am not sure 'call PareditMoveRight()|silent! call repeat#set("<leader>>")' would work as the key binding would it?
Just want to clarify this, cant find much info on it.
Thanks
The text was updated successfully, but these errors were encountered: