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

[KBM] Adding exceptions to "All Apps", or defining a list of apps for a same shortcut #6276

Open
Ariane-B opened this issue Sep 2, 2020 · 14 comments
Labels
Help Wanted We encourage anyone to jump in on these and submit a PR. Idea-Enhancement New feature or request on an existing product Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager
Milestone

Comments

@Ariane-B
Copy link

Ariane-B commented Sep 2, 2020

📝 Provide a description of the new feature

In Keyboard Manager, it's possible to remap a shortcut globally. Since there are many annoying programs that not only don't use what I consider the standard shortcut, Ctrl+Shift-Z, for Redo, but some of them even have another action on there, which results in a loss of redo history.

Some of those shortcuts aren't even remappable or the shortcut settings are hard to find and use, so I was really thankful for the possibility. I remapped Ctrl+Shift+Z to Ctrl+Y globally, which has mostly worked great for me.

However, I stumbled upon a particular program that has the reverse problem. Its command for Redo is Ctrl+Shift+Z, and it's not remappable. My remapping makes it impossible to redo and it triggers another action, which is the behaviour I wanted to fix in the first place.

I wish I could define exceptions for my "all apps" rule, or apply it to a certain list of apps instead of a single one. What's the best way to achieve what I want?

@ghost ghost added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Sep 2, 2020
@saahmedm
Copy link
Contributor

saahmedm commented Sep 3, 2020

hi @Ariane-B we don't currently have a workaround unfortunately but we have an issue similarly, to specify multiple targets: #6223

right now the only workaround, that is tedious, would be to remap Ctrl+Shift+Z to Ctrl+Y for all the apps you wanted it for and thus keep it from clashing with the particular program. This could be tedious but obv would be a one time action and temporary solution as we work to push updates!

@saahmedm saahmedm added Help Wanted We encourage anyone to jump in on these and submit a PR. Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Sep 3, 2020
@saahmedm saahmedm added this to the Suggested Enhancements milestone Sep 3, 2020
@Ariane-B
Copy link
Author

Ariane-B commented Sep 3, 2020

Hi! Thanks for your answer. Does this count as a duplicate of #6223, or does "all apps except these apps" constitute a different feature request?

@saahmedm
Copy link
Contributor

saahmedm commented Oct 2, 2020

No, this is a different ask!

@ajs256
Copy link

ajs256 commented Oct 24, 2020

Another use case: I use an Apple keyboard, so I switch Cmd (Meta/Win) with Ctrl so it has the behavior I'm used to. Unfortunately, this has the side effect of not playing nicely with terminals. I would use this feature to ignore terminals, so the Ctrl key has the effect I am used to there.

@enricogior enricogior changed the title Keyboard Manager : Adding exceptions to "All Apps", or defining a list of apps for a same shortcut [KBM] Adding exceptions to "All Apps", or defining a list of apps for a same shortcut Apr 29, 2021
@enricogior enricogior added the Idea-Enhancement New feature or request on an existing product label Apr 30, 2021
@Jay-o-Way
Copy link
Collaborator

My thought: some control (radio buttons or something?) with labels like either "apply to:" and "exclude:" comes before a list.

@novavision
Copy link

Any estimations when this important feature can be added?

@Zikoat
Copy link

Zikoat commented Oct 6, 2022

This could be fixed by allowing a mapping from a keyboard shortcut to itself on a target app if there is a global shortcut.

Something like:
ctrl+p -> alt+space (All Apps)
ctrl+p -> ctrl+p (code)

This would remap the shortcut for all apps except for VSCode where the original shortcut would be used.

@benlubas
Copy link

For anyone that wants a workaround, you can just use the other side modifier in most cases.

ie. I have a global bind that's Alt (Right) + Backspace => Ctrl (Right) + Backspace because I'm used to typing on MacOS.
But that messes with my WSL setup where I need to use Alt + backspace to delete a full word at a time.

So I have an additional bind Alt (Right) + Backspace => Alt (Left) + Backspace specifically for alacritty.exe, my terminal.
I'm not sure if that's really sending both keys behind the scenes or what. But it seems to work exactly as I would expect.

@LumKitty
Copy link

#26091 was closed as a duplicate of this, even though this is a slightly different request, so re-requesting: Could the feature allowing remapping of individual keys (not shortcuts) get an option to only remap for certain applications, like shortcuts already can do?

@TheStruggleForAntiSpaghetti

I think my request is similar. Most of the time I'd like my laptop's function keys such as volume up, down and silence to work without me having to press the fn key, which I configured in PT Keyboard Manager to do so.

In some apps though I'd like to use the function keys as-is so as normal f10, f11 & f12.

That's why an Exclude for apps list would be handy.

@seokbeomKim
Copy link

How is the progress for this feature? Is this feature going to be considered as a new feature?

@cameron-gagnon
Copy link

This has been a great feature and made it much easier to use both a Windows and Mac machine and mostly land on one set of shortcuts between both machines. However, without being able to override the behavior of shortcuts in some apps, it makes this tool much more tedius to use.

I have 6 navigation shortcuts I expect to use in ~every app. This means I'm quickly registering dozens and dozens of repeat shortcuts.

It'd be a huge win if we could just denylist an application instead of only being able to allowlist them.

@LifeWorks
Copy link

LifeWorks commented Dec 18, 2023

I figured out a way to work around it, specifically for alacritty. Please see the attached screenshots. The trick is to modify the Ctrl and Win with left and right specified for alacritty while maintain Ctrl or Win for All Apps. This way the alacritty setting will overwrite the general setting. At least I tested it, it works fine for me.

Updates:
Additional trick: when selecting the short cut for the additional mapping, you should type alacritty in the "All app" text box first then select the shortcut you want to send, the at last you select the short cut you want to map from. This way it won't evoke "duplicated mapping" warnings.

image
image

@ego-lay-atman-bay
Copy link

I would also really like this. I am running into an issue where I want to map ctrl + . to the context menu button, as I use a spellchecker in vscode, and it uses the quick fixes, which are mapped to ctrl + ., so I was thinking of bringing that to all my programs. Unfortunately this messes up vscode, because now it opens the context menu instead of the quick actions (although I can remap it in vscode), so I would like to exclude vscode from this shortcut.

@github-project-automation github-project-automation bot moved this to ⚠️Needs Walkthrough in 3. Help Wanted Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted We encourage anyone to jump in on these and submit a PR. Idea-Enhancement New feature or request on an existing product Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager
Projects
Status: ⚠️Needs Walkthrough
Development

No branches or pull requests