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

Is it possible to map key chords to menu items? #190

Open
apppppppple opened this issue Apr 19, 2021 · 0 comments
Open

Is it possible to map key chords to menu items? #190

apppppppple opened this issue Apr 19, 2021 · 0 comments

Comments

@apppppppple
Copy link

I don't really know how to phrase so sorry for the bad title. In my config I have multiple mappings that are two keys so that they're easier to remember (e.g. 'rn' -> rename, 'af' -> code actions), but the first key in the chord isn't used for anything else. Because of that, I'd like for the whole key chord to show up in the main menu instead of as a submenu. If I map the first character to something else, then it shows up fine (see screenshot) screenshot_2021-04-19_10-05-26_129180688but I can't find a way to get it to show up like that w/o mapping the first character. Setting 'rn' as an item in my config causes an error when I try to use it from the menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant