Skip to content

Instantly share code, notes, and snippets.

@y-not-u
Last active August 23, 2023 03:08
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 y-not-u/1fbcc1e3452ce7c7369650ada2aa861e to your computer and use it in GitHub Desktop.
Save y-not-u/1fbcc1e3452ce7c7369650ada2aa861e to your computer and use it in GitHub Desktop.
change the input method in terminal with karabiner
{
"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