Chords
Trigger an action by pressing two keys at the same time.
A chord fires when keys go down together. Pressing j and k at once to send Escape is a common one for Vim users.
In karabiner.ts
mapSimultaneous(['j', 'k']).to('escape')
In Vimputer
Record the chord
In a new binding’s Trigger row, record j, choose + with, and record k.
Add the action
Under Actions, set Press to a Shortcut of esc.
Pressed together within sets how close together the keys must land. Leave it empty to use the default in Generate.
Chord rules… covers the rest of Karabiner’s simultaneous_options:
| Rule | Karabiner |
|---|---|
| Down order, Up order | key_down_order, key_up_order |
| Release when | key_up_when |
| Uninterrupted detection | detect_key_down_uninterruptedly |
| On chord release | to_after_key_up |