Skip to content

Commit 4e691d6

Browse files
authored
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.
1 parent 09a6df1 commit 4e691d6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

book/src/keymap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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,

0 commit comments

Comments
 (0)