aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorClément Delafargue2023-01-17 08:17:22 +0000
committerMichael Davis2023-01-17 18:05:19 +0000
commita02dd17e8214125481a89f7aaa414f0c2285b3be (patch)
tree176d9792cf9ea5676e9da7959f083af00a36c9e9 /book
parent6317e0a7159bf124cb23e04b49dc29964cbe79a5 (diff)
doc: make the order of unimpaired mappings consistent
Most mappings are next `]` then previous `[`, except for a few ones. Fixes #5145
Diffstat (limited to 'book')
-rw-r--r--book/src/keymap.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index b38a1f44..92455911 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -305,10 +305,10 @@ Mappings in the style of [vim-unimpaired](https://github.com/tpope/vim-unimpaire
| Key | Description | Command |
| ----- | ----------- | ------- |
-| `[d` | Go to previous diagnostic (**LSP**) | `goto_prev_diag` |
| `]d` | Go to next diagnostic (**LSP**) | `goto_next_diag` |
-| `[D` | Go to first diagnostic in document (**LSP**) | `goto_first_diag` |
+| `[d` | Go to previous diagnostic (**LSP**) | `goto_prev_diag` |
| `]D` | Go to last diagnostic in document (**LSP**) | `goto_last_diag` |
+| `[D` | Go to first diagnostic in document (**LSP**) | `goto_first_diag` |
| `]f` | Go to next function (**TS**) | `goto_next_function` |
| `[f` | Go to previous function (**TS**) | `goto_prev_function` |
| `]t` | Go to next type definition (**TS**) | `goto_next_class` |
@@ -323,10 +323,10 @@ Mappings in the style of [vim-unimpaired](https://github.com/tpope/vim-unimpaire
| `[p` | Go to previous paragraph | `goto_prev_paragraph` |
| `]g` | Go to next change | `goto_next_change` |
| `[g` | Go to previous change | `goto_prev_change` |
-| `[G` | Go to first change | `goto_first_change` |
| `]G` | Go to last change | `goto_last_change` |
-| `[Space` | Add newline above | `add_newline_above` |
+| `[G` | Go to first change | `goto_first_change` |
| `]Space` | Add newline below | `add_newline_below` |
+| `[Space` | Add newline above | `add_newline_above` |
## Insert mode