How can I turn of gr_clue? #1512
-
Contributing guidelines
Module(s)mini.clue Questionthere is a commit feat(gr_clue) basically, it added the problem is it shadows my local keybindings For example, when I set a keybinding using "gr" to jump to a reference, like below, I will have to unnecessarily press one more key! Is there a way to turn this feature off? I don't need a default "gr" key. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The core issue is not these clues but the fact that Neovim>=0.11 has all those four (at the moment) mappings built-in. So 'mini.clue' auto-detects them and treats user typing The solution here is to manually delete all those new built-in mappings: vim.keymap.del('n', 'gri')
vim.keymap.del('n', 'grr')
vim.keymap.del('n', 'gra')
vim.keymap.del('n', 'grn') |
Beta Was this translation helpful? Give feedback.
-
|
Thanks! |
Beta Was this translation helpful? Give feedback.

The core issue is not these clues but the fact that Neovim>=0.11 has all those four (at the moment) mappings built-in. So 'mini.clue' auto-detects them and treats user typing
gras if there might be next key (although mapping is done withnowait = truewhich 'mini.clue' doesn't really support when computing clues).The solution here is to manually delete all those new built-in mappings: