KE-complex_modifications
KE-complex_modifications copied to clipboard
Conflicting Code
I have a few complex modifications running to navigate around a word(s), select a word(s) and delete a word(s). They look like so:
{
"description": "word selection",
"manipulators": [
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"left_shift",
"left_option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"option",
"left_shift"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"left_option",
"left_shift"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"option",
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "word navigation",
"manipulators": [
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"left_option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": "option"
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"left_option"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": "option"
}
],
"type": "basic"
}
]
},
{
"description": "word deletion",
"manipulators": [
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"left_control",
"left_option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"option",
"left_shift"
]
},
{
"key_code": "delete_or_backspace"
}
],
"type": "basic"
}
]
},
Now the issue is that the Word Deletion manipulator does not work with the letter j
. It does work if I change the letter, I just can't seem to understand where the conflict is arising from because the Word Selection Manipulator is working just fine.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When trying to trigger that shortcut, press control
first rather than option
. Otherwise, "word navigation" will be triggered (option+j
). I think this could be solved by moving "word deletion" rule above "word navigation".