Being a vi user, I find the touchbar esc annoying. As I don't use § or ± on a regular basis, I desided to map that key to esc. Using automator, I added this to my login startup.
Created
July 17, 2019 08:39
-
-
Save gilfreund/f4e99931ce3691d85f50ec6a731774dd to your computer and use it in GitHub Desktop.
Map §± key to esc on Mac OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000029}]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment