Skip to content

Instantly share code, notes, and snippets.

@asynchroza
Created February 6, 2023 20:47
Show Gist options
  • Save asynchroza/2a3faef23d936e84f0df41e2329bde35 to your computer and use it in GitHub Desktop.
Save asynchroza/2a3faef23d936e84f0df41e2329bde35 to your computer and use it in GitHub Desktop.
Swap tilde and non us backlash on MacOS
hidutil property --set '{"UserKeyMapping":[
{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064},
{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}
]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment