Last active
May 15, 2022 05:32
-
-
Save nullkal/7db3bc14617f85ab1a09b917d72cd20c to your computer and use it in GitHub Desktop.
AquaSKK + iTerm2環境でのCtrl-J問題を解決するためのKarabiner-ElementsのComplex Modificationsルール
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
{ | |
"title": "AquaSKK", | |
"rules": [ | |
{ | |
"description": "Ctrl-J to Kana on Apple Terminal/iTerm2", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "japanese_kana" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.googlecode\\.iterm2$", | |
"^com\\.apple\\.Terminal$" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Ctrl-J to Kana on Apple Terminal/iTerm2 for Dvorak", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "c", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "japanese_kana" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.googlecode\\.iterm2$", | |
"^com\\.apple\\.Terminal$" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment