Skip to content

Instantly share code, notes, and snippets.

@InfiniteXyy
Last active December 6, 2023 16:36
Show Gist options
  • Save InfiniteXyy/0c9c65d3a8d9956b77880f61f026805f to your computer and use it in GitHub Desktop.
Save InfiniteXyy/0c9c65d3a8d9956b77880f61f026805f to your computer and use it in GitHub Desktop.
Mac keyboard adaptive Powertoy setting
{"remapKeys":{"inProcess":[{"originalKeys":"91","newRemapKeys":"162"},{"originalKeys":"164","newRemapKeys":"91"},{"originalKeys":"162","newRemapKeys":"164"}]},"remapShortcuts":{"global":[{"originalKeys":"162;32","newRemapKeys":"162;164;32"},{"originalKeys":"91;8","newRemapKeys":"163;8"},{"originalKeys":"91;37","newRemapKeys":"163;37"},{"originalKeys":"91;39","newRemapKeys":"163;39"},{"originalKeys":"91;160;37","newRemapKeys":"162;160;37"},{"originalKeys":"91;160;39","newRemapKeys":"162;160;39"},{"originalKeys":"91;162;37","newRemapKeys":"164;37"},{"originalKeys":"91;162;39","newRemapKeys":"164;39"}],"appSpecific":[{"originalKeys":"164;32","newRemapKeys":"162;32","targetApp":"code"},{"originalKeys":"162;8","newRemapKeys":"162;89","targetApp":"code"},{"originalKeys":"91;13","newRemapKeys":"164;13","targetApp":"code"},{"originalKeys":"91;162;76","newRemapKeys":"162;164;76","targetApp":"code"}]}}

Description

A opinoined powertoy setting base on https://gist.github.com/vuon9/c282c605b35d6d4554a53cfc4afda8ab

If you use VSCode, and use intellij keyboard mapping, you can try this.

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

image image

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