Skip to content

Commit a976786

Browse files
authored
book: Document <space>h and <space>g (#6124)
1 parent 5ef3f5f commit a976786

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

book/src/keymap.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -268,28 +268,30 @@ Accessed by typing `Space` in [normal mode](#normal-mode).
268268

269269
This layer is a kludge of mappings, mostly pickers.
270270

271-
| Key | Description | Command |
272-
| ----- | ----------- | ------- |
273-
| `f` | Open file picker | `file_picker` |
274-
| `F` | Open file picker at current working directory | `file_picker_in_current_directory` |
275-
| `b` | Open buffer picker | `buffer_picker` |
276-
| `j` | Open jumplist picker | `jumplist_picker` |
277-
| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
278-
| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
279-
| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
280-
| `d` | Open document diagnostics picker (**LSP**) | `diagnostics_picker` |
281-
| `D` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnostics_picker` |
282-
| `r` | Rename symbol (**LSP**) | `rename_symbol` |
283-
| `a` | Apply code action (**LSP**) | `code_action` |
284-
| `'` | Open last fuzzy picker | `last_picker` |
285-
| `w` | Enter [window mode](#window-mode) | N/A |
286-
| `p` | Paste system clipboard after selections | `paste_clipboard_after` |
287-
| `P` | Paste system clipboard before selections | `paste_clipboard_before` |
288-
| `y` | Join and yank selections to clipboard | `yank_joined_to_clipboard` |
289-
| `Y` | Yank main selection to clipboard | `yank_main_selection_to_clipboard` |
290-
| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
291-
| `/` | Global search in workspace folder | `global_search` |
292-
| `?` | Open command palette | `command_palette` |
271+
| Key | Description | Command |
272+
| ----- | ----------- | ------- |
273+
| `f` | Open file picker | `file_picker` |
274+
| `F` | Open file picker at current working directory | `file_picker_in_current_directory` |
275+
| `b` | Open buffer picker | `buffer_picker` |
276+
| `j` | Open jumplist picker | `jumplist_picker` |
277+
| `g` | Debug (experimental) | N/A |
278+
| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
279+
| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
280+
| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
281+
| `d` | Open document diagnostics picker (**LSP**) | `diagnostics_picker` |
282+
| `D` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnostics_picker` |
283+
| `r` | Rename symbol (**LSP**) | `rename_symbol` |
284+
| `a` | Apply code action (**LSP**) | `code_action` |
285+
| `h` | Select symbol references (**LSP**) | `select_references_to_symbol_under_cursor` |
286+
| `'` | Open last fuzzy picker | `last_picker` |
287+
| `w` | Enter [window mode](#window-mode) | N/A |
288+
| `p` | Paste system clipboard after selections | `paste_clipboard_after` |
289+
| `P` | Paste system clipboard before selections | `paste_clipboard_before` |
290+
| `y` | Join and yank selections to clipboard | `yank_joined_to_clipboard` |
291+
| `Y` | Yank main selection to clipboard | `yank_main_selection_to_clipboard` |
292+
| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
293+
| `/` | Global search in workspace folder | `global_search` |
294+
| `?` | Open command palette | `command_palette` |
293295

294296
> TIP: Global search displays results in a fuzzy picker, use `Space + '` to bring it back up after opening a file.
295297

0 commit comments

Comments
 (0)