Skip to content

Instantly share code, notes, and snippets.

@amiorin
Created May 3, 2020 14:39
Change command + h/j/k/l to Arrows in Intellij and PyCharm
{
"title": "Vi Style Arrows",
"rules": [
{
"description": "Change command + h/j/k/l to Arrows",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"command"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"com.jetbrains.intellij",
"com.jetbrains.pycharm"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"command"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"com.jetbrains.intellij",
"com.jetbrains.pycharm"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"command"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"com.jetbrains.intellij",
"com.jetbrains.pycharm"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"command"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"com.jetbrains.intellij",
"com.jetbrains.pycharm"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment