Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set 'desc' opt when registering keymaps #96

Open
vicecaycedo opened this issue Dec 31, 2022 · 1 comment
Open

Set 'desc' opt when registering keymaps #96

vicecaycedo opened this issue Dec 31, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@vicecaycedo
Copy link

Feature description

When registering keymaps, an optional 'desc' opt can be used to provide a description of the mapping.

Plugins like https://github.com/folke/which-key.nvim can then use this description.

Describe the solution you'd like

It would be helpful if the nvim-bqf mappings were set with descriptions provided.

For example, the description for 'zn' could be 'create a new list for signed items'

Additional context

No response

@vicecaycedo vicecaycedo added the enhancement New feature or request label Dec 31, 2022
@kevinhwang91
Copy link
Owner

  1. Set keymap with desc requires a higher Neovim version;
  2. I don't use descriptions for keymaps;

However, PR is welcome.

@kevinhwang91 kevinhwang91 added the help wanted Extra attention is needed label Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants