Skip to content

Commit

Permalink
docs: fix keymap.md example TOML formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Nov 3, 2024
1 parent 6f6b0b8 commit ce14d4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/configuration/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,15 +495,15 @@ For example, to disable the default keybinding of <kbd>g</kbd> ⇒ <kbd>c</kbd>,

```toml
[[manager.prepend_keymap]]
on = [ "g", "c" ]
on = [ "g", "c" ]
run = "noop"
```

Or, if you prefer an array style:

```toml
[[manager.prepend_keymap]]
on = [ "g", "c" ]
on = [ "g", "c" ]
run = [ "noop" ] # The array can only have one element and must be "noop"
```

Expand Down

0 comments on commit ce14d4a

Please sign in to comment.