on master help sign in
Add diagnostics keys to keymap.md
ff8a031Blaž Hrastnik
book/src/keymap.md+12
@@ -86,6 +86,18 @@ in reverse, or searching via smartcase.
86| N | Add next search match to selection |
86| N | Add next search match to selection |
87| * | Use current selection as the search pattern |
87| * | Use current selection as the search pattern |
88
88
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+
89## Select / extend mode
101## Select / extend mode
90
102
91I'm still pondering whether to keep this mode or not. It changes movement
103I'm still pondering whether to keep this mode or not. It changes movement