feat: blink.cmp, treesitter textobjects, snacks scroll, lsp cleanup

This commit is contained in:
antoine 2026-04-18 11:28:18 +02:00
parent 5dc158af55
commit 9c8ef71689
Signed by: antoine
GPG key ID: 9EB6BAADC51B6133
5 changed files with 39 additions and 27 deletions

View file

@ -1,29 +1,14 @@
{...}: {
vim = {
autocomplete.nvim-cmp = {
enable = true;
mappings = {
complete = "<C-Space>";
close = "<C-e>";
scrollDocsUp = "<C-b>";
scrollDocsDown = "<C-f>";
confirm = "<CR>";
next = "<C-j>";
previous = "<C-k>";
};
vim.autocomplete.blink-cmp = {
enable = true;
mappings = {
complete = "<C-Space>";
close = "<C-e>";
scrollDocsUp = "<C-b>";
scrollDocsDown = "<C-f>";
confirm = "<CR>";
next = "<C-j>";
previous = "<C-k>";
};
snippets.luasnip.enable = true;
luaConfigRC.luasnip-keymaps = ''
vim.keymap.set({"i", "s"}, "<C-l>", function()
local ls = require("luasnip")
if ls.expand_or_jumpable() then ls.expand_or_jump() end
end, {silent = true})
vim.keymap.set({"i", "s"}, "<C-h>", function()
local ls = require("luasnip")
if ls.jumpable(-1) then ls.jump(-1) end
end, {silent = true})
'';
};
}