Skip to content

Commit

Permalink
Document completion menu bindings (#10994)
Browse files Browse the repository at this point in the history
* Update keymap.md

* Update keymap.md

* Update keymap.md
  • Loading branch information
chtenb authored Aug 9, 2024
1 parent 779ce41 commit e884dae
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions book/src/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,14 @@ Displays documentation for item under cursor. Remapping currently not supported.

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 |
| Key | Description |
| ---- | ----------- |
| `Shift-Tab`, `Ctrl-p`, `Up` | Previous entry |
| `Tab`, `Ctrl-n`, `Down` | Next entry |
| `Enter` | Close menu and accept completion |
| `Ctrl-c` | Close menu and reject completion |

Any other keypresses result in the completion being accepted.

##### Signature-help Popup

Expand Down

0 comments on commit e884dae

Please sign in to comment.