From 2adb369f4bc88d64242a59215723099d1a31a9fc Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Thu, 31 Oct 2024 00:26:00 +0700 Subject: [PATCH] config(nvim): update blink keymap See https://github.com/Saghen/blink.cmp/releases/tag/v0.5.0 --- data/nvim/init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/data/nvim/init.lua b/data/nvim/init.lua index 50a3de4..6a3e50a 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -208,10 +208,14 @@ require("lazy").setup({ version = "v0.*", opts = { keymap = { - select_and_accept = { "" }, + [""] = { "show", "show_documentation", "hide_documentation" }, + [""] = { "select_and_accept", "fallback" }, + [""] = { "select_prev", "fallback" }, + [""] = { "select_next", "fallback" }, }, trigger = { completion = { + show_on_accept_on_trigger_character = false, show_on_insert_on_trigger_character = false, }, },