mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
Document scrolling for hover command in keymap.md (#1117)
* Document scrolling for hover command in keymap.md * Move popup keys to a dedicated section
This commit is contained in:
parent
5959356a24
commit
f2b4ff23ba
@ -210,26 +210,35 @@ #### Space mode
|
|||||||
This layer is a kludge of mappings, mostly pickers.
|
This layer is a kludge of mappings, mostly pickers.
|
||||||
|
|
||||||
|
|
||||||
| Key | Description | Command |
|
| Key | Description | Command |
|
||||||
| ----- | ----------- | ------- |
|
| ----- | ----------- | ------- |
|
||||||
| `f` | Open file picker | `file_picker` |
|
| `f` | Open file picker | `file_picker` |
|
||||||
| `b` | Open buffer picker | `buffer_picker` |
|
| `b` | Open buffer picker | `buffer_picker` |
|
||||||
| `k` | Show documentation for item under cursor (**LSP**) | `hover` |
|
| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
|
||||||
| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
|
| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
|
||||||
| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
|
| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
|
||||||
| `r` | Rename symbol (**LSP**) | `rename_symbol` |
|
| `r` | Rename symbol (**LSP**) | `rename_symbol` |
|
||||||
| `a` | Apply code action (**LSP**) | `code_action` |
|
| `a` | Apply code action (**LSP**) | `code_action` |
|
||||||
| `'` | Open last fuzzy picker | `last_picker` |
|
| `'` | Open last fuzzy picker | `last_picker` |
|
||||||
| `w` | Enter [window mode](#window-mode) | N/A |
|
| `w` | Enter [window mode](#window-mode) | N/A |
|
||||||
| `p` | Paste system clipboard after selections | `paste_clipboard_after` |
|
| `p` | Paste system clipboard after selections | `paste_clipboard_after` |
|
||||||
| `P` | Paste system clipboard before selections | `paste_clipboard_before` |
|
| `P` | Paste system clipboard before selections | `paste_clipboard_before` |
|
||||||
| `y` | Join and yank selections to clipboard | `yank_joined_to_clipboard` |
|
| `y` | Join and yank selections to clipboard | `yank_joined_to_clipboard` |
|
||||||
| `Y` | Yank main selection to clipboard | `yank_main_selection_to_clipboard` |
|
| `Y` | Yank main selection to clipboard | `yank_main_selection_to_clipboard` |
|
||||||
| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
|
| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
|
||||||
| `/` | Global search in workspace folder | `global_search` |
|
| `/` | Global search in workspace folder | `global_search` |
|
||||||
|
|
||||||
> TIP: Global search displays results in a fuzzy picker, use `space + '` to bring it back up after opening a file.
|
> TIP: Global search displays results in a fuzzy picker, use `space + '` to bring it back up after opening a file.
|
||||||
|
|
||||||
|
##### Popup
|
||||||
|
|
||||||
|
Displays documentation for item under cursor.
|
||||||
|
|
||||||
|
| Key | Description |
|
||||||
|
| ---- | ----------- |
|
||||||
|
| `Ctrl-u` | Scroll up |
|
||||||
|
| `Ctrl-d` | Scroll down |
|
||||||
|
|
||||||
#### Unimpaired
|
#### Unimpaired
|
||||||
|
|
||||||
Mappings in the style of [vim-unimpaired](https://github.com/tpope/vim-unimpaired).
|
Mappings in the style of [vim-unimpaired](https://github.com/tpope/vim-unimpaired).
|
||||||
|
Loading…
Reference in New Issue
Block a user