Skip to content

[mini.clue] How to get all conflicting mappings? #1486

Closed Answered by echasnovski
ahmedelgabri asked this question in Q&A
Discussion options

You must be logged in to vote

I had two mappings similar to this

* `<leader>f`

* `<leader>fx`, `<leader>fy`, etc…

So when I did <leader>f it was a bit slow, because I assume neovim was waiting for the next character which can also trigger something else. I'd like to avoid this. Because clue will only show either a single mapping f or the mappings for f* as a group.

Aha, this kind of "conflicting". The 'mini.clue' can help here in the following sense:

  • If <Leader> is defined as trigger, then after pressing it 'mini.clue' will start its own key query process. With defaults, it means that window with clues will be shown after one second (can be adjusted with config.window.delay).
  • In the clue window for the <Leader> k…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ahmedelgabri
Comment options

@echasnovski
Comment options

Answer selected by echasnovski
@ahmedelgabri
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.clue
2 participants