From ff8a031cb2c2044b79539a7d278f14b0fc915a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Mon, 7 Jun 2021 09:24:23 +0900 Subject: [PATCH] Add diagnostics keys to keymap.md --- book/src/keymap.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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