{
"title": "vim-escape",
"rules": [
{
"description": "vim-escape",
"manipulators":
[
{
"type": "basic",
"from": {
"key_code": "caps_lock"
},
"to": [
{
"key_code": "left_command"
}
],
"conditions": [
{
"type": "frontmost_application_unless",
"bundle_identifiers": [
"^com\\.jetbrains\\.intellij$"
]
}
],
"description": "caps_lock to left_command unless intellij"
},
{
"type": "basic",
"from": {
"key_code": "caps_lock"
},
"to": [
{
"key_code": "escape"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.jetbrains\\.intellij$"
]
}
],
"description": "caps_lock to escape if intellij"
}
]
}
]
}