From 47f7a55f7b32335fa451a29d0c45d0f51a1163d3 Mon Sep 17 00:00:00 2001 From: Brian Henderson Date: Tue, 14 Apr 2026 21:14:52 +0200 Subject: [PATCH] refactor: extract blink.cmp preset to custom plugin --- init.lua | 2 +- lua/custom/plugins/blink-cmp.lua | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 lua/custom/plugins/blink-cmp.lua diff --git a/init.lua b/init.lua index 684223e5..e5259cf3 100644 --- a/init.lua +++ b/init.lua @@ -798,7 +798,7 @@ require('lazy').setup({ -- : Toggle signature help -- -- See :h blink-cmp-config-keymap for defining your own keymap - preset = 'super-tab', + preset = 'default', -- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see: -- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps diff --git a/lua/custom/plugins/blink-cmp.lua b/lua/custom/plugins/blink-cmp.lua new file mode 100644 index 00000000..b1009f01 --- /dev/null +++ b/lua/custom/plugins/blink-cmp.lua @@ -0,0 +1,6 @@ +return { + 'saghen/blink.cmp', + opts = { + keymap = { preset = 'super-tab' }, + }, +}