Show global keys in mini.clue #674
-
How can I show global keys in mini.clue? When using which-key.nvim I can go back ( |
Beta Was this translation helpful? Give feedback.
Answered by
echasnovski
Jan 27, 2024
Replies: 1 comment 3 replies
-
What do you mean by "global keys"? 'mini.clue' starts its key query process strictly on opt-in triggers while |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see.
This is not supported right away from the box by 'mini.clue'. As I said earlier, it works only for and starting with opt-in triggers. For example,
<Leader>
,g
, etc. Here is an example.It also only shows info about mappings automatically or manually set up clues. This matters for your examples:
d
usually starts an Operator-pending mode and usually doesn't have mappings starting with it (so clues probably won't get shown);a
inside Visual or Operator-pending mode may not have many mappings defined after it. For example, 'mini.ai' treatsa
as key itself and doesn't create separate mappings for every textobject it implements (for good reasons of allowing easier buffer-local config an…