Added foldnav and modified keybinds

This commit is contained in:
undrpaidtekmnky committed 2024-12-06 06:05:44 -07:00
1 parent a928d12c0d
commit 59b58486cd
5 files changed
+57 -18

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
return {
"domharries/foldnav.nvim",
version = "*",
config = function()
vim.g.foldnav = {
flash = {
enabled = true,
},
}
end,
keys = {
{
"<C-h>",
function()
require("foldnav").goto_start()
end,
},
{
"<C-j>",
function()
require("foldnav").goto_next()
end,
},
{
"<C-k>",
function()
require("foldnav").goto_prev_start()
end,
},
-- { "<C-k>", function() require("foldnav").goto_prev_end() end },
{
"<C-l>",
function()
require("foldnav").goto_end()
end,
},
},
}