feat: add auto-save plugin with toggle mapping;

feat: windsurf is back;
feat: add html snippet for boilerplate;
refactor: lsp config due to deprecation;
refactor: update hop mappings to current-line only with offsets;
chore: adjust base02 color in kolyan theme
This commit is contained in:
2025-11-06 00:34:29 +03:00
parent 070e44a5e0
commit bc80157fa9
8 changed files with 204 additions and 83 deletions

View File

@@ -0,0 +1,30 @@
return {
"Exafunction/windsurf.vim",
event = 'BufEnter',
enabled = false,
init = function()
vim.g.codeium_disable_bindings = 1
-- Completion
vim.keymap.set("i", "<S-Enter>", function()
return vim.fn["codeium#Accept"]()
end, { expr = true })
-- Complete next word
vim.keymap.set("i", "<M-Enter>", function()
return vim.fn["codeium#AcceptNextWord"]()
end, { expr = true })
-- Complete line
vim.keymap.set("i", "<M-\\>", function()
return vim.fn["codeium#AcceptNextLine"]()
end, { expr = true })
-- Next
vim.keymap.set("i", "<M-]>", function()
return vim.fn["codeium#CycleCompletions"](1)
end, { expr = true })
-- Previous
vim.keymap.set("i", "<M-[>", function()
return vim.fn["codeium#Clear"]()
end, { expr = true })
end
}