Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (24 sloc) 972 Bytes
{
"title": "ESCまたは^[でIMEをOFF",
"rules": [
{
"description": "VimでESCまたは^[を押したときにIMEをOFFにする",
"manipulators": [
{
"type": "basic",
"from": { "key_code": "escape", "modifiers": { "optional": [ "any" ] } },
"to": [ { "key_code": "lang2" }, { "key_code": "escape" } ],
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [
"^com\\.apple\\.Terminal$", "^org\\.vim\\.", "^com\\.googlecode\\.iterm2$" ] } ]
},
{
"type": "basic",
"from": { "key_code": "close_bracket", "modifiers": { "mandatory": ["left_control"] } },
"to": [ { "key_code": "lang2" }, { "key_code": "escape" } ],
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [
"^com\\.apple\\.Terminal$", "^org\\.vim\\.", "^com\\.googlecode\\.iterm2$" ] } ]
}
]
}
]
}