Added foldnav and modified keybinds
This commit is contained in:
1 parent
a928d12c0d
commit
59b58486cd
5 files changed
+57
-18
No files matched your search
@@ -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,
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user