Skip to content

Instantly share code, notes, and snippets.

@zalt50
Last active January 16, 2021 22:31
Show Gist options
  • Save zalt50/2b91604f6f939b023cf7a17ca3ff3fa2 to your computer and use it in GitHub Desktop.
Save zalt50/2b91604f6f939b023cf7a17ca3ff3fa2 to your computer and use it in GitHub Desktop.
Workaround for AquaSKK and Microsoft PowerPoint
{
"title": "AquaSKK workaround",
"rules": [
{
"description": "Change control+j to 英数 & かな in Terminal.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"caps_lock",
"shift",
"option"
]
}
},
"to": [
{
"key_code": "japanese_eisuu"
},
{
"key_code": "japanese_kana"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.apple\\.Terminal$",
"^com\\.googlecode\\.iterm2$",
"^co\\.zeit\\.hyperterm$",
"^co\\.zeit\\.hyper$",
"^io\\.alacritty$"
]
}
]
}
]
},
{
"description": "Change control+j to 英数 & かな in Microsoft PowerPoint.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"caps_lock",
"shift",
"option"
]
}
},
"to": [
{
"key_code": "japanese_eisuu"
},
{
"key_code": "japanese_kana"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.microsoft\\.Powerpoint$"
]
}
]
}
]
},
{
"description": "Change control+j to 英数 & かな in Microsoft Excel.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"caps_lock",
"shift",
"option"
]
}
},
"to": [
{
"key_code": "japanese_eisuu"
},
{
"key_code": "japanese_kana"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.microsoft\\.Excel$"
]
}
]
}
]
}
]
}
@zalt50
Copy link
Author

zalt50 commented Jul 11, 2017

Workaround for codefirst/aquaskk#49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment