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

Docstrings for custom keymappings beneath a mode #3867

Closed
ElDifinitivo opened this issue Sep 16, 2022 · 1 comment
Closed

Docstrings for custom keymappings beneath a mode #3867

ElDifinitivo opened this issue Sep 16, 2022 · 1 comment
Labels
C-enhancement Category: Improvements R-duplicate Duplicated issue: please refer to the linked issue

Comments

@ElDifinitivo
Copy link

When defining new keymappings under an existing mode, the docstring will default to the description of the command, with each new keymap listed as a new entry in the pop-up.

However, when one of the new maps consist of multiple commands (e.g. m = { l = ["extend_to_line_bounds", "trim_selections"] }), the docstring will default to [Multiple commands], which gives the user no indication as to what the keymap will do. There should be an override which would allow the user to set a custom description for the keymap. The default Multiple commands should probably remain as i+ commands could get increasingly unwieldy if it defaulted to the description of each individual command.

@ElDifinitivo ElDifinitivo added the C-enhancement Category: Improvements label Sep 16, 2022
@the-mikedavis
Copy link
Member

Duplicate of #3130

@the-mikedavis the-mikedavis marked this as a duplicate of #3130 Sep 16, 2022
@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Sep 16, 2022
@the-mikedavis the-mikedavis added the R-duplicate Duplicated issue: please refer to the linked issue label Sep 16, 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