Can Karabiner do that?
Could you please provide me with JSON?
Thank you very much.
{
"description": "control + a to delete row",
"manipulators": [
{
"type": "basic",,
"from": {
"key_code": "a",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": "right_command"
}
]
}
]
}
You can only delete the string in front of the cursor. What I want to do is delete the line at the end of the line or in the line. In a nutshell, it's just control + a, k, k.
What I want to do is press 'control' not to loosen, then press 'a' to loosen, then press 'k' to loosen, and finally press 'k' to loosen.
Thanks.
You can combine key combinations like this
"to": [
{
"key_code": "a",
"modifiers": ["left_control"]
},
{
"key_code": "k",
"modifiers": ["left_control"]
},
{
"key_code": "k",
"modifiers": ["left_control"]
}
]
@biletskyy I've been busy recently. I just saw it today.
thanks,You solved my problem.馃憤
Most helpful comment
You can combine key combinations like this