Last active
August 23, 2023 03:08
-
-
Save y-not-u/1fbcc1e3452ce7c7369650ada2aa861e to your computer and use it in GitHub Desktop.
change the input method in terminal with karabiner
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
{ | |
"description": "Esc to ABC", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "escape" | |
}, | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.github\\.wez\\.wezterm$", | |
"^com\\.neovide\\.neovide$", | |
"^com\\.googlecode\\.iterm2$" | |
] | |
} | |
], | |
"to_after_key_up": [ | |
{ | |
"select_input_source": { | |
"input_source_id": "com.apple.keylayout.ABC", | |
"language": "en" | |
} | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "escape" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment