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

Keyboard map: when press ctrl+alt+k, not map alt+k. #17933

Closed
MoonChasing opened this issue Apr 27, 2022 · 4 comments
Closed

Keyboard map: when press ctrl+alt+k, not map alt+k. #17933

MoonChasing opened this issue Apr 27, 2022 · 4 comments
Labels
Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager Resolution-Helped User Could help the user by a problem they had

Comments

@MoonChasing
Copy link

MoonChasing commented Apr 27, 2022

Description of the new feature / enhancement

I mapped alt+k to another key, and ctrl+alt+k is a hot key of VS Code.
But when i press ctrl+alt+k, it still behaves like alt+k does, not VS Code's hot key.

Scenario when this would be used?

Keyboard map.

Supporting information

No response

@MoonChasing MoonChasing added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Apr 27, 2022
@Jay-o-Way Jay-o-Way added the Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager label Apr 27, 2022
@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Apr 27, 2022

Can you share a screenshot of the remap settings? I am guessing the left/right comlumns are mixed. The intention is to command View.CallHierarchy by pressing which Alt+K, right?
Also: is Visual Studio elevated? In order for PowerToys to be able to affect elevated programs/windows, it must be running with Admin rights too.
/needinfo

@ghost ghost added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Apr 27, 2022
@Jay-o-Way Jay-o-Way added the Resolution-Helped User Could help the user by a problem they had label Apr 27, 2022
@MoonChasing
Copy link
Author

image
I mapped alt+h/j/k/l to the arrow keys to simulate Vim.
ctrl+alt+k is a shortcut for bookmarking bookmarks in my VSCode Bookmarks plugin.
When I use ctrl+alt+k, I actually want to mark the bookmark, but at the moment it is equivalent to using ctrl + up.

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Apr 29, 2022
@Jay-o-Way
Copy link
Collaborator

Thanks for the image. Looking at your settings, I think the behavious is correct. I think your intention is the other way around: To send a Ctrl+Alt+K command by pressing the (physical) Ctrl+Up keys, swap the left and right columns.

Physical keys Mapped to
Ctrl + Up Ctrl + Alt + K

And if you want this only inside Visual Studio, you might want to add that to the setting.

@Jay-o-Way Jay-o-Way removed the Needs-Team-Response An issue author responded so the team needs to follow up label Apr 29, 2022
@MoonChasing
Copy link
Author

Thanks for your answer, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager Resolution-Helped User Could help the user by a problem they had
Projects
None yet
Development

No branches or pull requests

2 participants