Skip to content

Commit

Permalink
Add Speed-up escape when caps lock is pressed alone Vonng#45 suggesti…
Browse files Browse the repository at this point in the history
…on from pending pull request on upstream
  • Loading branch information
plasmadice committed Jun 11, 2023
1 parent f450ba1 commit 36e8454
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions mac_v4/capslock.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@
"right_command",
"right_control",
"right_option"
]
],
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "escape"
"key_code": "escape",
"lazy": true
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions mac_v4/capslock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ rules:
- description: 'capslock = esc(click) | hyper(hold)'
type: basic
from: { key_code: caps_lock ,modifiers: { optional: [ any ] } }
to: [ { key_code: right_shift,modifiers: [ right_command,right_control,right_option ] } ]
to_if_alone: [ { key_code: escape } ]
to: [ { key_code: right_shift,modifiers: [ right_command,right_control,right_option ], lazy: true } ]
to_if_alone: [ { key_code: escape, lazy: true } ]

- description: 'escape = capslock switch'
type: basic
Expand Down

0 comments on commit 36e8454

Please sign in to comment.