on master help sign in
Add diagnostics keys to keymap.md
commitff8a031cb2c2044b79539a7d278f14b0fc915a07 authorBlaž Hrastnik <blaz@mxxn.io> dateMon 7 Jun 2021, 09:24 (5 years ago) parentd9b2f6f
1 file changed+12
book/src/keymap.md+12
book/src/keymap.md+12
@@ -86,6 +86,18 @@ in reverse, or searching via smartcase.
8686| N | Add next search match to selection |
8787| * | Use current selection as the search pattern |
8888
89+### Diagnostics
90+
91+> NOTE: `[` and `]` will likely contain more pair mappings in the style of
92+> [vim-unimpaired](https://github.com/tpope/vim-unimpaired)
93+
94+| Key | Description |
95+|-----|-----------|
96+| [d | Go to previous diagnostic |
97+| ]d | Go to next diagnostic |
98+| [D | Go to first diagnostic in document |
99+| ]D | Go to last diagnostic in document |
100+
89101## Select / extend mode
90102
91103I'm still pondering whether to keep this mode or not. It changes movement