mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 11:27:46 +03:00
Add completion/signature bindings to keymap.md (#10654)
* Add completion/signature bindings to keymap.md PR #9974 added alt-p/alt-n keybindings to scroll through signatures. This wasn't very discoverable, as it's not in the docs or the command palette. This also removes a broken link for "comment mode" in the table of contents. * Update keymap.md
This commit is contained in:
parent
752ed8eb15
commit
31273c69e0
1 changed files with 21 additions and 2 deletions
|
@ -12,8 +12,9 @@
|
||||||
- [Match mode](#match-mode)
|
- [Match mode](#match-mode)
|
||||||
- [Window mode](#window-mode)
|
- [Window mode](#window-mode)
|
||||||
- [Space mode](#space-mode)
|
- [Space mode](#space-mode)
|
||||||
- [Comment mode](#comment-mode)
|
|
||||||
- [Popup](#popup)
|
- [Popup](#popup)
|
||||||
|
- [Completion Menu](#completion-menu)
|
||||||
|
- [Signature-help Popup](#signature-help-popup)
|
||||||
- [Unimpaired](#unimpaired)
|
- [Unimpaired](#unimpaired)
|
||||||
- [Insert mode](#insert-mode)
|
- [Insert mode](#insert-mode)
|
||||||
- [Select / extend mode](#select--extend-mode)
|
- [Select / extend mode](#select--extend-mode)
|
||||||
|
@ -309,13 +310,31 @@ This layer is a kludge of mappings, mostly pickers.
|
||||||
|
|
||||||
##### Popup
|
##### Popup
|
||||||
|
|
||||||
Displays documentation for item under cursor.
|
Displays documentation for item under cursor. Remapping currently not supported.
|
||||||
|
|
||||||
| Key | Description |
|
| Key | Description |
|
||||||
| ---- | ----------- |
|
| ---- | ----------- |
|
||||||
| `Ctrl-u` | Scroll up |
|
| `Ctrl-u` | Scroll up |
|
||||||
| `Ctrl-d` | Scroll down |
|
| `Ctrl-d` | Scroll down |
|
||||||
|
|
||||||
|
##### Completion Menu
|
||||||
|
|
||||||
|
Displays documentation for the selected completion item. Remapping currently not supported.
|
||||||
|
|
||||||
|
| Key | Description |
|
||||||
|
| ---- | ----------- |
|
||||||
|
| `Shift-Tab`, `Ctrl-p`, `Up` | Previous entry |
|
||||||
|
| `Tab`, `Ctrl-n`, `Down` | Next entry |
|
||||||
|
|
||||||
|
##### Signature-help Popup
|
||||||
|
|
||||||
|
Displays the signature of the selected completion item. Remapping currently not supported.
|
||||||
|
|
||||||
|
| Key | Description |
|
||||||
|
| ---- | ----------- |
|
||||||
|
| `Alt-p` | Previous signature |
|
||||||
|
| `Alt-n` | Next signature |
|
||||||
|
|
||||||
#### Unimpaired
|
#### Unimpaired
|
||||||
|
|
||||||
These mappings are in the style of [vim-unimpaired](https://github.com/tpope/vim-unimpaired).
|
These mappings are in the style of [vim-unimpaired](https://github.com/tpope/vim-unimpaired).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue