aboutsummaryrefslogtreecommitdiff
path: root/book/src/keymap.md
diff options
context:
space:
mode:
authorMathieu Agopian2023-02-28 03:03:56 +0000
committerGitHub2023-02-28 03:03:56 +0000
commita976786a4fa013150ec1b59ae55276361e61340f (patch)
tree1045961616c14a517b6b6b1da20f14da21690e8f /book/src/keymap.md
parent5ef3f5f59f37df04267fdebd64d9b51b5c4419a7 (diff)
book: Document <space>h and <space>g (#6124)
Diffstat (limited to 'book/src/keymap.md')
-rw-r--r--book/src/keymap.md46
1 files changed, 24 insertions, 22 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 8864ab69..87867024 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -268,28 +268,30 @@ Accessed by typing `Space` in [normal mode](#normal-mode).
This layer is a kludge of mappings, mostly pickers.
-| Key | Description | Command |
-| ----- | ----------- | ------- |
-| `f` | Open file picker | `file_picker` |
-| `F` | Open file picker at current working directory | `file_picker_in_current_directory` |
-| `b` | Open buffer picker | `buffer_picker` |
-| `j` | Open jumplist picker | `jumplist_picker` |
-| `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` |
-| `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` |
-| `w` | Enter [window mode](#window-mode) | N/A |
-| `p` | Paste system clipboard after selections | `paste_clipboard_after` |
-| `P` | Paste system clipboard before selections | `paste_clipboard_before` |
-| `y` | Join and yank selections to clipboard | `yank_joined_to_clipboard` |
-| `Y` | Yank main selection to clipboard | `yank_main_selection_to_clipboard` |
-| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
-| `/` | Global search in workspace folder | `global_search` |
-| `?` | Open command palette | `command_palette` |
+| Key | Description | Command |
+| ----- | ----------- | ------- |
+| `f` | Open file picker | `file_picker` |
+| `F` | Open file picker at current working directory | `file_picker_in_current_directory` |
+| `b` | Open buffer picker | `buffer_picker` |
+| `j` | Open jumplist picker | `jumplist_picker` |
+| `g` | Debug (experimental) | N/A |
+| `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` |
+| `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` |
+| `h` | Select symbol references (**LSP**) | `select_references_to_symbol_under_cursor` |
+| `'` | Open last fuzzy picker | `last_picker` |
+| `w` | Enter [window mode](#window-mode) | N/A |
+| `p` | Paste system clipboard after selections | `paste_clipboard_after` |
+| `P` | Paste system clipboard before selections | `paste_clipboard_before` |
+| `y` | Join and yank selections to clipboard | `yank_joined_to_clipboard` |
+| `Y` | Yank main selection to clipboard | `yank_main_selection_to_clipboard` |
+| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
+| `/` | Global search in workspace folder | `global_search` |
+| `?` | Open command palette | `command_palette` |
> TIP: Global search displays results in a fuzzy picker, use `Space + '` to bring it back up after opening a file.