From 9a6c19c2b21e3dbf658864aa284556ac393181a4 Mon Sep 17 00:00:00 2001 From: chloe caruso Date: Thu, 24 Jul 2025 20:41:58 -0700 Subject: [PATCH] chloe: vim --- users/chloe/vim.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/users/chloe/vim.nix b/users/chloe/vim.nix index 0b3cc08..4dfae25 100644 --- a/users/chloe/vim.nix +++ b/users/chloe/vim.nix @@ -16,6 +16,36 @@ _: { }; }; }; + autocomplete.blink-cmp = { + enable = true; + mappings = { + close = null; + complete = null; + confirm = null; + next = null; + previous = null; + scrollDocsDown = null; + scrollDocsUp = null; + }; + + setupOpts = { + keymap = { + preset = "super-tab"; + }; + completion = { + ghost_text.enabled = false; + list.selection.preselect = true; + trigger = { + show_in_snippet = true; + }; + accept.auto_brackets.enabled = true; + }; + signature = { + enabled = true; + }; + }; + }; + keymaps = let mkKeymap = mode: key: action: desc: {