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

Allow documentation of custom keymaps #4082

Closed
maxtremblay opened this issue Oct 3, 2022 · 1 comment
Closed

Allow documentation of custom keymaps #4082

maxtremblay opened this issue Oct 3, 2022 · 1 comment
Labels
C-enhancement Category: Improvements R-duplicate Duplicated issue: please refer to the linked issue

Comments

@maxtremblay
Copy link

Hello, I don't know if it is already possible, but I found nothing. I just added a keymap to run the format command more easily.

[keys.normal]
"space" = { m = ":fmt" } # Format document

When I press space in a file and I wait for the helper menu, the command appears but the documentation is a bit weird as you can see in that screenshot.

Screenshot from 2022-10-03 11-15-27

It would be nice to have the option to add a custom label. In this case something like "Format document" would look much nicer than ":format []".

@maxtremblay maxtremblay added the C-enhancement Category: Improvements label Oct 3, 2022
@the-mikedavis
Copy link
Member

Duplicate of #1752

@the-mikedavis the-mikedavis marked this as a duplicate of #1752 Oct 3, 2022
@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2022
@the-mikedavis the-mikedavis added the R-duplicate Duplicated issue: please refer to the linked issue label Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

2 participants