Powertoys: App-specific remapping for Keys

Created on 21 Sep 2020  路  12Comments  路  Source: microsoft/PowerToys

This one is really simple. Therefore only two sentences.

I want to use different key mapping for different programs.
It would be great to be able to set a mappings per program.

Idea-Enhancement Product-Keyboard Shortcut Manager

All 12 comments

@kraoli we already have the feature to add shortcut remappings for specific programs. Is that what you are looking for or would you also like the ability to make key remappings for specific programs?

The ability to make key remappings for specific programs would be great.

@nix644 / @kraoli, what is the scenario for remapping only a key for a targeted app instead of a shortcut.

As an example, If I have Google Chrome open and would like to Ctrl + Tab to switch between tabs quickly I can do that. The problem is, with an application like Discord that I use for work, hitting Ctrl + Tab opens a completely different Discord server entirely. So if I'm accidently clicked into that window without realizing it because I have to switch windows quite often, that happens instead of switching tabs.

Mapping the shortcut Ctrl + Tab to Tilde for example would be very helpful in resolving this issue. And from what I understand, I cannot do that currently.

@Nix644 Ctrl + Tab to Tilde can be done with the following mapping:

Ctrl + Tab -> Shift + ` (since this is how you access Tilde)
image

@saahmedm Thank you for your reply. I had mentioned Tilde as the key I wanted to map to, but was being a bit lazy in giving the real name. I meant the "Grave" key, I was aware that since Tilde is accessed by Shift --> Grave, the request I had made would already be possible in that instance. Sorry for the confusion!

@nix644, no worries. It looks like you're trying to remap a key (Grave) to a shortcut (ctrl tab) and can't specify a specific application. I think this is def a reasonable use case. @crutkas wdy think?

key remap for app only could be interesting.

Sorry I messed up my reply. Had a double post and removed both. So once again.

@arjunbalgovind @crutkas

Basically I want to remap some keys and shortcuts in 3 specific programs. I want to have each setting active only when the program has the focus. So that you can switch program and get the individual mapping automatically for that program.

I have a game for example were I want to map the arrow keys to WASD, because it's not possible in this game. But I don't want that mapping outside of the game of course.

Or I have a program were I like to remap some shortcuts, but also functions that are on 'i' & 'o' keys for zooming in and out. Since these are no shortcuts, I can't do it. Or only globally, which you don't want. :)

Another example are my media keys on the keyboard. I want to remap them for each program as additional 'function key', because I don't need a start/stop/pause media button usually. These 3 keys are great to be mapped per program. And in many programs there not only shortcuts used to do things in this program (e.g. see above).

I also would like to remap keys in specific applications. My use case is Visual Studio. I use a Norwegian keyboard and brackets are inconvenient.
( is shift+8, ) is shift+9,
{ is alt Gr+7, } is alt Gr+0
[ is alt Gr+8, ] is alt Gr+9
< is down by left shift and > is shift+<
/ is shift+7
I use English exclusively in my code, even comments, so I have 3 Norwegian specific keys that I never use. In the top row after p we have , and in the second row after l we have and .
Being able to remap the keys to something more sensible would be a lifesaver. Of course I do need those keys when I write things other than code.

This might be a bit off topic, but I'd also like to be able to "switch" keys/key-combos. If I got a dollar for every time I've accidentally pressed F1 instead of ESC I'd be rich. I tried switching F1 and shift+F1, but I only ended up getting "help" for both. The problem is that I need to use Remap shortcuts for shift+F1 to F1 and Remap keys for F1 to shift+F1, and those sections doesn't seem to communicate very well. I assume it goes like this F1->Shift-F1->F1.
I tried mapping shift+b -> a with Remap shortcut, and a -> b and f1 -> shift+b with Remap keys.
Pressing F1 results in a, so it goes F1->shift+b->a.

This would help me swap ; and \ keys in a LaTeX editor and considerably reduce my hand strain.

Yes, this would be great. As mentioned for outlook - the Ctrl-F to find makes more sense than forward. The shortcut remap in this case works. For outlook the send / receive short cut is F9. It would make more sense to if I could change that to F5, the standard refresh key.

Was this page helpful?
0 / 5 - 0 ratings