feat: integrate arrow.nvim with custom options

This commit is contained in:
2024-08-23 10:09:19 -04:00
parent e55a5d03d8
commit 19002d1ebc
+21 -69
View File
@@ -8,74 +8,42 @@ return {
{ -- Dial { -- Dial
import = "lazyvim.plugins.extras.editor.dial", import = "lazyvim.plugins.extras.editor.dial",
}, },
{ -- Harpoon
import = "lazyvim.plugins.extras.editor.harpoon2",
},
{ -- Illuminate { -- Illuminate
import = "lazyvim.plugins.extras.editor.illuminate", import = "lazyvim.plugins.extras.editor.illuminate",
}, },
{ -- Outline
import = "lazyvim.plugins.extras.editor.outline",
},
{ -- IncRename
import = "lazyvim.plugins.extras.editor.inc-rename",
},
{ -- Flash { -- Flash
"folke/flash.nvim", "folke/flash.nvim",
opts = { opts = {
modes = { modes = { char = { jump_labels = true } },
char = {
jump_labels = true,
},
}, },
}, },
{ -- Arrow
"otavioschwanck/arrow.nvim",
opts = require("data.types").arrow,
}, },
{ -- indent-blankline { -- indent-blankline
"lukas-reineke/indent-blankline.nvim", "lukas-reineke/indent-blankline.nvim",
lazy = true, lazy = true,
}, },
{ -- Outline
import = "lazyvim.plugins.extras.editor.outline",
},
{ -- FoldNav { -- FoldNav
"domharries/foldnav.nvim", "domharries/foldnav.nvim",
lazy = true, lazy = true,
keys = { keys = require("data.keys").foldnav,
{ -- Goto Start
"<C-h>",
function()
require("foldnav").goto_start()
end,
}, },
{ -- Goto Next ---@module "neominimap.config.meta"
"<C-j>", { -- NeoMiniMap
function() "Isrothy/neominimap.nvim",
require("foldnav").goto_next() enabled = true,
end, lazy = false,
}, keys = require("data.keys").minimap,
{ -- Goto Prev init = require("data.types").minimap.init(),
"<C-k>", cond = require("data.types").minimap.cond(),
function()
require("foldnav").goto_prev_start()
end,
},
{ -- Goto End
"<C-l>",
function()
require("foldnav").goto_end()
end,
},
},
},
{ -- CodeWindow
"gorbit99/codewindow.nvim",
event = "BufEnter",
config = function()
require("codewindow").setup({
auto_enable = true,
exclude_filetypes = { "help", "dashboard" },
minimap_width = 16,
width_multiplier = 3,
screen_bounds = "background",
window_border = "none",
relative = "win",
})
require("codewindow").apply_default_keybinds()
end,
}, },
{ -- Persistence { -- Persistence
"folke/persistence.nvim", "folke/persistence.nvim",
@@ -90,29 +58,13 @@ return {
"tris203/precognition.nvim", "tris203/precognition.nvim",
lazy = true, lazy = true,
opts = {}, opts = {},
keys = { keys = require("data.keys").precog,
{ -- Toggle Precognition
"zk",
function()
require("config.rootiest").toggle_precognition()
end,
desc = "Toggle Precognition",
},
},
}, },
{ -- Zen Mode { -- Zen Mode
"folke/zen-mode.nvim", "folke/zen-mode.nvim",
lazy = true, lazy = true,
opts = {}, opts = {},
keys = { keys = require("data.keys").zen,
{ -- Toggle ZenMode
"<leader>z",
function()
require("zen-mode").toggle()
end,
desc = "Toggle ZenMode",
},
},
}, },
{ -- SmoothCursor { -- SmoothCursor
"gen740/SmoothCursor.nvim", "gen740/SmoothCursor.nvim",