binding Command+Shift+k => Command+k and Command+k => up_arrow at same time not work #3657
-
as the title says. I want to use two shortcuts press Command+k => up_arrow (which is vim-like style, I used it for a while, and do not want to modify) {
"title": "test",
"maintainers": [
"TerryDing77"
],
"rules": [
{
"description": "Command + k => up_arrow",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
]
}
]
},
{
"description": "command+shift+k => Command+k (for toggle raycast actions)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"command",
"shift"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "k",
"modifiers": [
"command"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"shift"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "k",
"modifiers": [
"command"
]
}
]
}
]
}
]
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Switch the order maybe? Also disallow "any" optional modifier for the cmd+k -> up_arrow one Edit: this seems to work
|
Beta Was this translation helpful? Give feedback.
Switch the order maybe? Also disallow "any" optional modifier for the cmd+k -> up_arrow one
https://karabiner-elements.pqrs.org/docs/json/complex-modifications-manipulator-evaluation-priority/
Edit:
this seems to work