Skip to content

Commit d14b465

Browse files
committed
Add default keybinding for workspace commands
1 parent 5ce8f88 commit d14b465

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

book/src/keymap.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ This layer is a kludge of mappings, mostly pickers.
277277
| `D` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnostics_picker` |
278278
| `r` | Rename symbol (**LSP**) | `rename_symbol` |
279279
| `a` | Apply code action (**LSP**) | `code_action` |
280+
| `c` | Open workspace command picker (**LSP**) | `workspace_command_picker` |
280281
| `'` | Open last fuzzy picker | `last_picker` |
281282
| `w` | Enter [window mode](#window-mode) | N/A |
282283
| `p` | Paste system clipboard after selections | `paste_clipboard_after` |

helix-term/src/keymap/default.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ pub fn default() -> HashMap<Mode, Keymap> {
212212
"d" => diagnostics_picker,
213213
"D" => workspace_diagnostics_picker,
214214
"a" => code_action,
215+
"c" => workspace_command_picker,
215216
"'" => last_picker,
216217
"g" => { "Debug (experimental)" sticky=true
217218
"l" => dap_launch,

0 commit comments

Comments
 (0)