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
5.38k stars 177 forks source link

feat: allow sorting by description #486

Closed willothy closed 3 months ago

willothy commented 1 year ago

I'd like my maps to be sorted by description (as would some others, see #362), so I implemented an option and comparator function to do just that.

which-key-sort

xfyuan commented 9 months ago

@folke Will this PR be merged in the recent days?

It seems be very helpful! As my nvim config, there're so many keymaps be defined in every plugin definition position, so if they can be ordered by description then it should be very clear in which-key screen.)

github-actions[bot] commented 4 months ago

This PR is stale because it has been open 60 days with no activity.

folke commented 3 months ago

fixed in v3