This commit is contained in:
2025-08-13 21:46:48 +02:00
commit c3e2e6509b
818 changed files with 54187 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
return {
"declancm/cinnamon.nvim",
event = "VeryLazy",
config = function()
require("cinnamon").setup({
options = {
delay = 5,
},
})
local keymaps = {
["<C-u>"] = "<C-u>zz",
["<C-d>"] = "<C-d>zz",
["n"] = "nzzzv",
["N"] = "Nzzzv",
}
local scroll = require("cinnamon").scroll
for key, value in pairs(keymaps) do
vim.keymap.set("n", key, function()
scroll(value)
end)
end
end,
}