which-key.nvim
which-key.nvim copied to clipboard
feature: disabling the popup on prefixes with Ctrl
Did you check the docs?
- [X] I have read all the which-key.nvim docs
Is your feature request related to a problem? Please describe.
I tried to disable the popup on <C-w> using triggers_blacklist, but it didn't work. It keeps overriding my custom keymap.
Describe the solution you'd like
triggers_blacklist = {
n = { "<C-w>" },
i = { "j", "k", "<C-w>" },
v = { "j", "k", "<C-w>" },
}
Describe alternatives you've considered
none
Additional context
No response
Registering keymap via the plugin interface helps. Feel free to close the issue unless you think it is relevant.
Same issue and also with <C-w>--it's overriding my hydra.nvim implicit keymaps where <C-w> is the body or "leader" keymap. Doesn't README imply triggers_blacklist should work?
<C-w> is the binding used to switch windows by vim, did you switch off the popup for windows related events.
See https://github.com/folke/which-key.nvim#%EF%B8%8F-configuration, set presets.windows to false
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
check the new docs