Skip to content

Instantly share code, notes, and snippets.

@nullkal
Last active May 15, 2022 05:32
Show Gist options
  • Save nullkal/7db3bc14617f85ab1a09b917d72cd20c to your computer and use it in GitHub Desktop.
Save nullkal/7db3bc14617f85ab1a09b917d72cd20c to your computer and use it in GitHub Desktop.
AquaSKK + iTerm2環境でのCtrl-J問題を解決するためのKarabiner-ElementsのComplex Modificationsルール
{
"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