Skip to content

Commit

Permalink
docs: fix an example of key definition
Browse files Browse the repository at this point in the history
  • Loading branch information
DCsunset authored Oct 26, 2023
1 parent 33d23db commit bb0a63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ You can set up the keymap by `modaled-define-keys` (or directly using `define-ke
:states '("insert" "normal")
; bind a key to change back to default state from other states
:bind
'([escape] . modaled-set-default-state))
'(([escape] . modaled-set-default-state)))
```

To change the current state, you can use `modaled-set-state` or `modaled-set-default-state`:
Expand Down

0 comments on commit bb0a63b

Please sign in to comment.