on master help sign in
Change diagnostic picker keybind to <space>d (#4229)

Also changes workspace diagnostic picker bindings to <space>D and changes the debug menu keybind to <space>g, the previous diagnostic picker keybind. This brings the diagnostic picker bindings more in line with the jump to next/previous diagnostic bindings which are currently on ]d and [d.

commit4e691d62470a4f92ee5bf2e2609a97d0e1ec832c authorGokul Soumya <gokulps15@gmail.com> dateMon 17 Oct 2022, 13:15 (4 years ago) parent09a6df1
2 files changed+5−5
book/src/keymap.md+2−2 helix-term/src/keymap/default.rs+3−3
book/src/keymap.md+2−2
@@ -273,8 +273,8 @@ This layer is a kludge of mappings, mostly pickers.
273273| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
274274| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
275275| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
276−| `g` | Open document diagnostics picker (**LSP**) | `diagnostics_picker` |
277−| `G` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnostics_picker`
276+| `d` | Open document diagnostics picker (**LSP**) | `diagnostics_picker` |
277+| `D` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnostics_picker` |
278278| `r` | Rename symbol (**LSP**) | `rename_symbol` |
279279| `a` | Apply code action (**LSP**) | `code_action` |
280280| `'` | Open last fuzzy picker | `last_picker` |
helix-term/src/keymap/default.rs+3−3
@@ -209,11 +209,11 @@ pub fn default() -> HashMap<Mode, Keymap> {
209209 "j" => jumplist_picker,
210210 "s" => symbol_picker,
211211 "S" => workspace_symbol_picker,
212− "g" => diagnostics_picker,
213− "G" => workspace_diagnostics_picker,
212+ "d" => diagnostics_picker,
213+ "D" => workspace_diagnostics_picker,
214214 "a" => code_action,
215215 "'" => last_picker,
216− "d" => { "Debug (experimental)" sticky=true
216+ "g" => { "Debug (experimental)" sticky=true
217217 "l" => dap_launch,
218218 "b" => dap_toggle_breakpoint,
219219 "c" => dap_continue,