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

Remapping after: with modifiers like cmd #4757

Open
NightMachinery opened this issue Apr 20, 2020 · 2 comments
Open

Remapping after: with modifiers like cmd #4757

NightMachinery opened this issue Apr 20, 2020 · 2 comments

Comments

@NightMachinery
Copy link

NightMachinery commented Apr 20, 2020

I have defined { "before":["<leader>", "m", "h" ], "after": ["cmd+k", "cmd+i"]}, to remap show hover, but it doesn't work.
I don't know if this is the same as #2713 or not. That issue is for before:.

@sql-koala
Copy link
Contributor

Hi, when you want to remap existing vscode commands, you can do it by replacing "after": ... with this:
"commands": ["editor.action.showHover"]

@NightMachinery
Copy link
Author

@sqlkoala I know, that’s what I am using right now, but that shortcut actually changes in some debug context. That’s why I preferred to emulate it via keys.

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

2 participants