Skip to content

Instantly share code, notes, and snippets.

@vuon9
Last active May 5, 2024 15:39
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save vuon9/c282c605b35d6d4554a53cfc4afda8ab to your computer and use it in GitHub Desktop.
Save vuon9/c282c605b35d6d4554a53cfc4afda8ab to your computer and use it in GitHub Desktop.
Powertoys - Keyboard Manager - Common macOS keys mapping

How to install

  • cd C:\Users\${username}\AppData\Local\Microsoft\PowerToys\Keyboard Manager
  • Backup file existing one of default.json
  • Download default.json and add it to the current folder

Mapped keys

key
Esc
Command-W
Command-G
Command-M
Command-Space
Command-L
Command-Tab
Command-left/right arrows
Control - Command - Space
Command-P
Option + Command + Esc
{"remapKeys":{"inProcess":[{"originalKeys":"164","newRemapKeys":"162"},{"originalKeys":"91","newRemapKeys":"164"},{"originalKeys":"162","newRemapKeys":"91"}]},"remapShortcuts":{"global":[{"originalKeys":"160;27","newRemapKeys":"160;192"},{"originalKeys":"162;9","newRemapKeys":"164;9"},{"originalKeys":"162;77","newRemapKeys":"91;68"},{"originalKeys":"162;160;9","newRemapKeys":"164;160;9"},{"originalKeys":"162;164;27","newRemapKeys":"164;115"},{"originalKeys":"91;9","newRemapKeys":"162;9"},{"originalKeys":"91;160;9","newRemapKeys":"162;160;9"},{"originalKeys":"91;162;32","newRemapKeys":"91;186"}],"appSpecific":[{"originalKeys":"162;37","newRemapKeys":"164;37","targetApp":"chrome"},{"originalKeys":"162;39","newRemapKeys":"164;39","targetApp":"chrome"},{"originalKeys":"91;32","newRemapKeys":"162;32","targetApp":"code"},{"originalKeys":"91;65","newRemapKeys":"162;65","targetApp":"windowsterminal"},{"originalKeys":"91;67","newRemapKeys":"162;67","targetApp":"windowsterminal"}]}}
@arvid-berndtsson
Copy link

Really nice! Thank you so much! 😄

@wllp
Copy link

wllp commented Apr 12, 2024

Hey, I just installed, and it seems to be working well so far. I also swapped the keycaps on the board so I can remember witch is witch now. The only think I added so far was add back in a way to press "ctrl tab" I don't use it much but its a hot key to do something like change browser tab. As it was it currently acted like a second alt tab for changing Programs. Mostly though it was just for me to proof of concept making and editing on my own. Thanks for these though should provide a good base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment