folke / which-key.nvim

💥 Create key bindings that stick. WhichKey helps you remember your Neovim keymaps, by showing available keybindings in a popup as you type.
Apache License 2.0
4.89k stars 160 forks source link

Wrong keymaps shown for visual mode #314

Closed baodrate closed 1 week ago

baodrate commented 2 years ago

Noticeable when using which-key along with leap.nvim. The which-key display that shows up when you press v shows leap mapped to x and z: image

But <Plug>(leap-forward) is actually mapped with s, x and z are leap's mappings for mode o.

:vmap :omap
image image

confirming that which-key is showing the o maps, :omap u <Plug>(foobar) yields:

image

github-actions[bot] commented 1 week ago

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.