update config

This commit is contained in:
Zynh0722 2023-10-01 20:27:12 -07:00
parent 269bfc8f97
commit 0e09282890
3 changed files with 20 additions and 2 deletions

View file

@ -16,5 +16,15 @@ local function map(mode, lhs, rhs, opts)
end end
end end
map("n", "<C-u>", "<C-u>zz", { desc = "Centered Half Page Up", remap = true }) map(
map("n", "<C-d>", "<C-d>zz", { desc = "Centered Half Page Down", remap = true }) "n",
"<C-u>",
"<Cmd>lua vim.cmd('normal! <C-u>'); MiniAnimate.execute_after('scroll', 'normal! zz')<CR>",
{ desc = "Centered Half Page Up", remap = true }
)
map(
"n",
"<C-d>",
"<Cmd>lua vim.cmd('normal! <C-d>'); MiniAnimate.execute_after('scroll', 'normal! zz')<CR>",
{ desc = "Centered Half Page Down", remap = true }
)

View file

@ -10,6 +10,9 @@ return {
}) })
end, end,
}, },
{
"nyoom-engineering/oxocarbon.nvim",
},
-- Configure LazyVim to load rose-pine -- Configure LazyVim to load rose-pine
{ {

View file

@ -15,6 +15,11 @@ return {
group = "module", group = "module",
}, },
}, },
cargo = {
buildScripts = {
enable = false,
},
},
files = { files = {
excludeDirs = { excludeDirs = {
"pe-template", "pe-template",