When rewriting the which-keys mapping registers, I encountered some issues. It seems like once keymaps are registered, a key stays in the system, and I am not sure how to "deregister" it. Removing the line register "r" does not remove the keymap registered by which-key. For example, when I remove the key register for 'rename', the cursor moves to the right when I trigger <leader>r instead of doing nothing. I tried to debug it, so I ran :verbose map <leader>r, the output shows that which-key registered the keymap, and it stayed there despite the edit in my which-keys config file. I also tried to reinstall Neovim and the plugins, but the problem still exists.
To Reproduce
Remove the register for any of the keymaps in which-key config
Describe the bug
When rewriting the which-keys mapping registers, I encountered some issues. It seems like once keymaps are registered, a key stays in the system, and I am not sure how to "deregister" it. Removing the line register "r" does not remove the keymap registered by which-key. For example, when I remove the key register for 'rename', the cursor moves to the right when I trigger
<leader>r
instead of doing nothing. I tried to debug it, so I ran:verbose map <leader>r
, the output shows that which-key registered the keymap, and it stayed there despite the edit in my which-keys config file. I also tried to reinstall Neovim and the plugins, but the problem still exists.To Reproduce
<leader>r
Desktop
Neovim Version
NVIM v0.10.0