Skip to content

Commit

Permalink
docs: collapse keymap table
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Dec 26, 2024
1 parent 712886d commit 1784bae
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions docs/configuration/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,27 +81,18 @@ keymap = [

You can specify one or more keys in the `on` of each keybinding rule, and each key can be represented with the following notations:

| Notation | Description |
| ---------------- | ------------------ |
| `a` - `z` | Lowercase letters. |
| `A` - `Z` | Uppercase letters. |
| `<Space>` | Space key. |
| `<Backspace>` | Backspace key. |
| `<Enter>` | Enter key. |
| `<Left>` | Left arrow key. |
| `<Right>` | Right arrow key. |
| `<Up>` | Up arrow key. |
| `<Down>` | Down arrow key. |
| `<Home>` | Home key. |
| `<End>` | End key. |
| `<PageUp>` | PageUp key. |
| `<PageDown>` | PageDown key. |
| `<Tab>` | Tab key. |
| `<BackTab>` | Shift + Tab key. |
| `<Delete>` | Delete key. |
| `<Insert>` | Insert key. |
| `<F1>` - `<F19>` | Function keys. |
| `<Esc>` | Escape key. |
| Notation | Description | Notation | Description |
| ---------------- | ----------------- | ------------- | ----------------- |
| `a` - `z` | Lowercase letters | `A` - `Z` | Uppercase letters |
| `<Space>` | Space key | `<Backspace>` | Backspace key |
| `<Enter>` | Enter key | - | - |
| `<Left>` | Left arrow key | `<Right>` | Right arrow key |
| `<Up>` | Up arrow key | `<Down>` | Down arrow key |
| `<Home>` | Home key | `<End>` | End key |
| `<PageUp>` | PageUp key | `<PageDown>` | PageDown key |
| `<Tab>` | Tab key | `<BackTab>` | Shift + Tab key |
| `<Delete>` | Delete key | `<Insert>` | Insert key |
| `<F1>` - `<F19>` | Function keys | `<Esc>` | Escape key |

You can combine the following modifiers for the keys above:

Expand Down

0 comments on commit 1784bae

Please sign in to comment.