Skip to content

How to enable <Tab> in cmdline? #807

Closed Answered by Quitlox
kleinepls asked this question in Q&A
Discussion options

You must be logged in to vote

You can change the behaviour for the cmdline mode using the keymap.cmdline option. It sounds like you're looking for select_and_accept.

require("blink-cmp").setup({
    keymap = {
        cmdline = {
            ["<Tab>"] = { "select_and_accept", "fallback" },
        },
    },
})

This can all be found in the documentation: https://cmp.saghen.dev/configuration/keymap.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Saghen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants