Skip to content

Instantly share code, notes, and snippets.

@davbeck
Last active May 14, 2020 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davbeck/b3839dde045d6e1f01e0b104dbe30e68 to your computer and use it in GitHub Desktop.
Save davbeck/b3839dde045d6e1f01e0b104dbe30e68 to your computer and use it in GitHub Desktop.
# remap windows menu/application key to option to avoid hidden characters
# in particular when using the Microsoft ergonomic keyboard
# I found that I would accidentally insert hidden characters when pasting
hidutil property --set '{"UserKeyMapping":
[{"HIDKeyboardModifierMappingSrc":0x700000065,
"HIDKeyboardModifierMappingDst":0x7000000e6}]
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment