Skip to content

Commit 7378f82

Browse files
Saghengithub-actions[bot]
authored andcommitted
docs: update vimdocs
1 parent b7e2404 commit 7378f82

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

doc/blink-cmp.txt

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*blink-cmp.txt* For NVIM v0.10.0 Last change: 2025 July 28
1+
*blink-cmp.txt* For NVIM v0.10.0 Last change: 2025 July 30
22

33
==============================================================================
44
Table of Contents *blink-cmp-table-of-contents*
@@ -1565,6 +1565,10 @@ COMMANDS ~
15651565
- Optionally use `function(cmp) cmp.scroll_documentation_down(4) end` to scroll by a specific number of lines
15661566
- `show_signature`: Shows the signature help window
15671567
- `hide_signature`: Hides the signature help window
1568+
- `scroll_signature_up`: Scrolls the signature help window up by 4 lines
1569+
- Optionally use `function(cmp) cmp.scroll_signature_up(4) end` to scroll by a specific number of lines
1570+
- `scroll_signature_down`: Scrolls the signature help window down by 4 lines
1571+
- Optionally use `function(cmp) cmp.scroll_signature_down(4) end` to scroll by a specific number of lines
15681572
- `snippet_forward`: Jumps to the next snippet placeholder
15691573
- `snippet_backward`: Jumps to the previous snippet placeholder
15701574
- `fallback`: Runs the next non-blink keymap, or runs the built-in neovim binding
@@ -1670,10 +1674,10 @@ info in: https://cmp.saghen.dev/configuration/completion.html#list
16701674
SIGNATURE *blink-cmp-config-signature*
16711675

16721676

1673-
Blink supports signature help, automatically triggered when typing trigger
1674-
characters, defined by the LSP, such as `(` for `lua`. The menu will be updated
1675-
when pressing a retrigger character, such as `,`. Due to it being experimental,
1676-
this feature is opt-in.
1677+
Blink supports signature help by manually pressing `<C-k>` (by default) or
1678+
automatically triggered when typing trigger characters, defined by the LSP,
1679+
such as `(` for `lua`. The menu will be updated when pressing a retrigger
1680+
character, such as `,`. Due to it being experimental, this feature is opt-in.
16771681

16781682
>lua
16791683
signature = { enabled = true }
@@ -1685,6 +1689,23 @@ You may want to set `signature.window.show_documentation = false` to only show
16851689
the signature, and not the documentation.
16861690

16871691

1692+
KEYMAP ~
1693+
1694+
See the keymap documentation <../modes/cmdline.md#keymap> for a full list of
1695+
commands. By default, the `scroll_signature_up` and `scroll_signature_down`
1696+
commands are not bound to any keys. You may bind them like so:
1697+
1698+
>lua
1699+
keymap = {
1700+
['<C-u>'] = { 'scroll_signature_up', 'fallback' },
1701+
['<C-d>'] = { 'scroll_signature_down', 'fallback' },
1702+
1703+
-- default in all keymap presets
1704+
['<C-k>'] = { 'show_signature', 'hide_signature', 'fallback' },
1705+
}
1706+
<
1707+
1708+
16881709
SNIPPETS *blink-cmp-config-snippets*
16891710

16901711
Blink uses the `vim.snippet` API by default for expanding and navigating

0 commit comments

Comments
 (0)