Skip to content

Commit

Permalink
Merge pull request #1415 from KirillGoryakin/patch-1
Browse files Browse the repository at this point in the history
Create rule "Backslash to forward delete"
  • Loading branch information
tekezo authored Jul 2, 2023
2 parents 334b060 + a652756 commit ebbaa17
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions public/json/backslash-to-forward-delete.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"title": "Backslash (\\) to forward delete. (Use Fn + \\ for default behavior)",
"rules": [
{
"description": "Change Backslash (\\) to forward delete",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "backslash"
},
"to": [
{
"key_code": "delete_forward"
}
]
}
]
},
{
"description": "Change option + \\ to delete next word",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"option"
]
},
"key_code": "backslash"
},
"to": [
{
"key_code": "delete_forward",
"modifiers": [
"option"
]
}
]
}
]
},
{
"description": "Change command + \\ to delete forward whole line",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"command"
]
},
"key_code": "backslash"
},
"to": [
{
"key_code": "delete_forward",
"modifiers": [
"command"
]
}
]
}
]
}
]
}

0 comments on commit ebbaa17

Please sign in to comment.