Skip to content

Instantly share code, notes, and snippets.

@rokoucha
Last active September 14, 2022 05:05
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 rokoucha/643edcae50f213aa360d337d8af84be8 to your computer and use it in GitHub Desktop.
Save rokoucha/643edcae50f213aa360d337d8af84be8 to your computer and use it in GitHub Desktop.
Karabiner-Elements Complex Modifications for AquaSKK (iTerm2, JetBrains Fleet)
{
"title": "AquaSKK",
"rules": [
{
"description": "AquaSKK for iTerm2",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"key_code": "j",
"modifiers": [
"left_control",
"left_shift"
]
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.googlecode\\.iterm2",
"^com\\.apple\\.Terminal"
]
}
]
}
]
},
{
"description": "AquaSKK for JetBrains Fleet",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["left_control"]
}
},
"to": [
{
"select_input_source": {
"language": "ja",
"input_source_id": "jp.sourceforge.inputmethod.aquaskk.Hiragana",
"input_mode_id": "com.apple.inputmethod.Japanese.Hiragana"
}
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": ["^Fleet.app$"]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment