Skip to content

Commit

Permalink
Add title to json
Browse files Browse the repository at this point in the history
  • Loading branch information
EamesTrinh committed Jan 24, 2025
1 parent bd7e5a2 commit 37dd4b6
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/json/windows_like_word_movement.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"description": "Option+Left/Right/Delete/Shift to fn+Left/Right/Delete/Shift (modify for ctrl)",
"title": "Option+Left/Right/Delete/Shift to fn+Left/Right/Delete/Shift (modify for ctrl)",
"maintainers": ["EamesTrinh"],
"manipulators": [
{
Expand Down
91 changes: 91 additions & 0 deletions src/json/windows_like_word_movement.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"description": "Option+Left/Right/Delete/Shift to fn+Left/Right/Delete/Shift (modify for ctrl)",
"title": "Option+Left/Right/Delete/Shift to fn+Left/Right/Delete/Shift (modify for ctrl)",
"maintainers": ["EamesTrinh"],
"manipulators": [
{
"description": "Option+Left Arrow to Command+Left Arrow (Home/Beginning of Line)",
"from": {
"key_code": "left_arrow",
"modifiers": { "mandatory": ["fn"] }
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["option"]
}
],
"type": "basic"
},
{
"description": "Option+Right Arrow to Command+Right Arrow (End of Line)",
"from": {
"key_code": "right_arrow",
"modifiers": { "mandatory": ["fn"] }
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["option"]
}
],
"type": "basic"
},
{
"description": "Option+Backspace to Command+Backspace (Delete to Beginning of Line)",
"from": {
"key_code": "delete_or_backspace",
"modifiers": { "mandatory": ["fn"] }
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": ["option"]
}
],
"type": "basic"
},
{
"description": "Option+Delete to Command+Delete (Delete to End of Line)",
"from": {
"key_code": "delete_forward",
"modifiers": { "mandatory": ["fn"] }
},
"to": [
{
"key_code": "delete_forward",
"modifiers": ["option"]
}
],
"type": "basic"
},
{
"description": "Shift+Option+Left Arrow to Shift+Command+Left Arrow (Select to Beginning of Line)",
"from": {
"key_code": "left_arrow",
"modifiers": { "mandatory": ["fn", "shift"] }
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["option", "shift"]
}
],
"type": "basic"
},
{
"description": "Shift+Option+Right Arrow to Shift+Command+Right Arrow (Select to End of Line)",
"from": {
"key_code": "right_arrow",
"modifiers": { "mandatory": ["fn", "shift"] }
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["option", "shift"]
}
],
"type": "basic"
}
]
}

0 comments on commit 37dd4b6

Please sign in to comment.