feat: integrate arrow.nvim with custom options
This commit is contained in:
+22
-70
@@ -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
|
|
||||||
"<C-j>",
|
|
||||||
function()
|
|
||||||
require("foldnav").goto_next()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{ -- Goto Prev
|
|
||||||
"<C-k>",
|
|
||||||
function()
|
|
||||||
require("foldnav").goto_prev_start()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{ -- Goto End
|
|
||||||
"<C-l>",
|
|
||||||
function()
|
|
||||||
require("foldnav").goto_end()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{ -- CodeWindow
|
---@module "neominimap.config.meta"
|
||||||
"gorbit99/codewindow.nvim",
|
{ -- NeoMiniMap
|
||||||
event = "BufEnter",
|
"Isrothy/neominimap.nvim",
|
||||||
config = function()
|
enabled = true,
|
||||||
require("codewindow").setup({
|
lazy = false,
|
||||||
auto_enable = true,
|
keys = require("data.keys").minimap,
|
||||||
exclude_filetypes = { "help", "dashboard" },
|
init = require("data.types").minimap.init(),
|
||||||
minimap_width = 16,
|
cond = require("data.types").minimap.cond(),
|
||||||
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",
|
||||||
|
|||||||
Reference in New Issue
Block a user