From 6f46dcbb2ceb167bf3148cdb2946bad2d77aff1b Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Wed, 18 Jun 2025 16:07:57 +0200 Subject: [PATCH] feat(nvim): auto-complete with tab --- neovim/blink-cmp.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/neovim/blink-cmp.lua b/neovim/blink-cmp.lua index 3235655..8d5bcfb 100644 --- a/neovim/blink-cmp.lua +++ b/neovim/blink-cmp.lua @@ -8,9 +8,15 @@ require("blink-cmp").setup({ completion = { documentation = { auto_show = true, auto_show_delay_ms = 500 }, ghost_text = { enabled = true }, + list = { + selection = { preselect = false, auto_insert = true }, + }, }, keymap = { - preset = "default" + preset = "default", + [""] = { "select_next", "fallback" }, + [""] = { "select_prev", "fallback" }, + [""] = { "accept", "fallback" }, }, signature = { enabled = true }, sources = {