Last active
February 21, 2023 16:44
-
-
Save Chiamaka/b825f770f82941c22c28f7c085c77077 to your computer and use it in GitHub Desktop.
Convert to ` symbol on EU keyboards
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
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
Copy the code and paste it into your terminal. This will convert the key under the
esc
to the~
sign.Just so you know, when your laptop restarts, this binding will disappear.
To make it persistent, you can add the binding to your bash file, either
bashrc
orzshrc
. This will run the binding script every time your terminal is active, so you won't need to do this binding manually.