PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Single key to activate shortcut (and vice versa)

Open Morgan-Rewis opened this issue 6 years ago • 2 comments

Summary of the new feature/enhancement

Currently, you can remap a single key to a single key, or a two-button shortcut to a two-button shortcut; the proposed feature would let you mix and match these two. For example, F6, F7, and F8 could be bound to Ctrl-X, Ctrl+C, and Ctrl+V respectively. Alternatively, Ctrl+Num6 (or any other combination of your choosing) could press the default F6, allowing you to bind the key to a shortcut by default without losing it's default functionality.

Proposed technical implementation details (optional)

Instead of having two separate menus within the keyboard manager (as is now), use a single menu that contains all variants of the remapping functionality. When selecting the user input, if only one key is pressed it knows to activate on that one key, but if two are pressed it looks for that combination before activating; the same is true for outputs.

Morgan-Rewis avatar Jun 05 '20 22:06 Morgan-Rewis

+1.

I want to bind Ctrl+Left to Home and Ctrl+Right to End, but I don't appear to be able to do it.

Ancillas avatar Jun 06 '20 07:06 Ancillas

hi, @ThePamplemoussian this is a good suggestion! we're actually tracking it here #3290

closing this as a duplicate

saahmedm avatar Jun 11 '20 16:06 saahmedm