which-key.nvim icon indicating copy to clipboard operation
which-key.nvim copied to clipboard

Search through mappings?

Open ellioseven opened this issue 3 years ago • 2 comments

I'd love to be able to search through the key mappings, eg:

"split vertical" would show <c-w v>

Not sure if something like this is possible with which-key?

ellioseven avatar Jan 21 '22 10:01 ellioseven

@ellioseven I came across this plugin recently. Not sure if that's what you're looking for. I haven't used it personally, but apparently it also has which-key integration

Magnuscake avatar Mar 03 '22 07:03 Magnuscake

Hey I'm the author of the linked plugin. It sounds like it should fit your use-case. It gives you a vim.ui.select() interface to your keymaps, and can load which-key mappings (it also handles commands and autocmds if you want). Example screenshot:

CleanShot-2022-03-19-at-11 30 40

mrjones2014 avatar Mar 19 '22 15:03 mrjones2014