aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-06-07 00:24:23 +0000
committerBlaž Hrastnik2021-06-07 00:24:23 +0000
commitff8a031cb2c2044b79539a7d278f14b0fc915a07 (patch)
tree049990d3c455c7388ab0e133aa9aed24cf9d41b6 /book/src
parentd9b2f6feacb08f3b902deafcffb6b64059afee35 (diff)
Add diagnostics keys to keymap.md
Diffstat (limited to 'book/src')
-rw-r--r--book/src/keymap.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 5c09a740..2eddf3b0 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -86,6 +86,18 @@ in reverse, or searching via smartcase.
| N | Add next search match to selection |
| * | Use current selection as the search pattern |
+### Diagnostics
+
+> NOTE: `[` and `]` will likely contain more pair mappings in the style of
+> [vim-unimpaired](https://github.com/tpope/vim-unimpaired)
+
+| Key | Description |
+|-----|-----------|
+| [d | Go to previous diagnostic |
+| ]d | Go to next diagnostic |
+| [D | Go to first diagnostic in document |
+| ]D | Go to last diagnostic in document |
+
## Select / extend mode
I'm still pondering whether to keep this mode or not. It changes movement