aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGokul Soumya2022-10-17 07:45:42 +0000
committerGitHub2022-10-17 07:45:42 +0000
commit4e691d62470a4f92ee5bf2e2609a97d0e1ec832c (patch)
tree9cd51399d7c4d1c84973ea2828ee5d0882e44d13
parent09a6df199e535270f15901cdaec99cfffa0f4043 (diff)
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.
-rw-r--r--book/src/keymap.md4
-rw-r--r--helix-term/src/keymap/default.rs6
2 files changed, 5 insertions, 5 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 0882381e..5bdbdd29 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -273,8 +273,8 @@ This layer is a kludge of mappings, mostly pickers.
| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
-| `g` | Open document diagnostics picker (**LSP**) | `diagnostics_picker` |
-| `G` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnostics_picker`
+| `d` | Open document diagnostics picker (**LSP**) | `diagnostics_picker` |
+| `D` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnostics_picker` |
| `r` | Rename symbol (**LSP**) | `rename_symbol` |
| `a` | Apply code action (**LSP**) | `code_action` |
| `'` | Open last fuzzy picker | `last_picker` |
diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs
index 6c327ee6..118764d9 100644
--- a/helix-term/src/keymap/default.rs
+++ b/helix-term/src/keymap/default.rs
@@ -209,11 +209,11 @@ pub fn default() -> HashMap<Mode, Keymap> {
"j" => jumplist_picker,
"s" => symbol_picker,
"S" => workspace_symbol_picker,
- "g" => diagnostics_picker,
- "G" => workspace_diagnostics_picker,
+ "d" => diagnostics_picker,
+ "D" => workspace_diagnostics_picker,
"a" => code_action,
"'" => last_picker,
- "d" => { "Debug (experimental)" sticky=true
+ "g" => { "Debug (experimental)" sticky=true
"l" => dap_launch,
"b" => dap_toggle_breakpoint,
"c" => dap_continue,