diff --git a/lua/plugins/actoggle.lua b/lua/plugins/actoggle.lua index 8aeccc6..2574a64 100644 --- a/lua/plugins/actoggle.lua +++ b/lua/plugins/actoggle.lua @@ -2,7 +2,11 @@ return { "saghen/blink.cmp", -- Make blink.cmp toogleable opts = function(_, opts) - vim.b.completion = false + opts.keymap = { + preset = "default", + [""] = { "select_and_accept" }, + } + vim.b.completion = true Snacks.toggle({ name = "Completion",