on master help sign in
Document scrolling for hover command in keymap.md (#1117)

* Document scrolling for hover command in keymap.md * Move popup keys to a dedicated section

commitf2b4ff23badc48e8a606eae07ef62fa56ebbf6f6 authorMartin Junghanns <m.junghanns@mailbox.org> dateFri 19 Nov 2021, 03:58 (5 years ago) parent5959356
1 file changed+26−17
book/src/keymap.md+26−17
book/src/keymap.md+26−17
@@ -210,25 +210,34 @@ This layer is similar to vim keybindings as kakoune does not support window.
210210This layer is a kludge of mappings, mostly pickers.
211211
212212
213−| Key | Description | Command |
214−| ----- | ----------- | ------- |
215−| `f` | Open file picker | `file_picker` |
216−| `b` | Open buffer picker | `buffer_picker` |
217−| `k` | Show documentation for item under cursor (**LSP**) | `hover` |
218−| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
219−| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
220−| `r` | Rename symbol (**LSP**) | `rename_symbol` |
221−| `a` | Apply code action (**LSP**) | `code_action` |
222−| `'` | Open last fuzzy picker | `last_picker` |
223−| `w` | Enter [window mode](#window-mode) | N/A |
224−| `p` | Paste system clipboard after selections | `paste_clipboard_after` |
225−| `P` | Paste system clipboard before selections | `paste_clipboard_before` |
226−| `y` | Join and yank selections to clipboard | `yank_joined_to_clipboard` |
227−| `Y` | Yank main selection to clipboard | `yank_main_selection_to_clipboard` |
228−| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
229−| `/` | Global search in workspace folder | `global_search` |
213+| Key | Description | Command |
214+| ----- | ----------- | ------- |
215+| `f` | Open file picker | `file_picker` |
216+| `b` | Open buffer picker | `buffer_picker` |
217+| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
218+| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
219+| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
220+| `r` | Rename symbol (**LSP**) | `rename_symbol` |
221+| `a` | Apply code action (**LSP**) | `code_action` |
222+| `'` | Open last fuzzy picker | `last_picker` |
223+| `w` | Enter [window mode](#window-mode) | N/A |
224+| `p` | Paste system clipboard after selections | `paste_clipboard_after` |
225+| `P` | Paste system clipboard before selections | `paste_clipboard_before` |
226+| `y` | Join and yank selections to clipboard | `yank_joined_to_clipboard` |
227+| `Y` | Yank main selection to clipboard | `yank_main_selection_to_clipboard` |
228+| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
229+| `/` | Global search in workspace folder | `global_search` |
230230
231231> TIP: Global search displays results in a fuzzy picker, use `space + '` to bring it back up after opening a file.
232+
233+##### Popup
234+
235+Displays documentation for item under cursor.
236+
237+| Key | Description |
238+| ---- | ----------- |
239+| `Ctrl-u` | Scroll up |
240+| `Ctrl-d` | Scroll down |
232241
233242#### Unimpaired
234243