changed a load of shit

This commit is contained in:
2026-02-22 16:30:46 +00:00
parent 4f87617051
commit d611081d65
11 changed files with 100 additions and 55 deletions

View File

@@ -3,11 +3,13 @@ return {
version = "",
config = function()
local animate = require("mini.animate")
require("mini.pairs").setup() -- Bracket pairs and stuff
require("mini.ai").setup() -- Around and In extension for visual mode
require("mini.cursorword").setup() -- Underline current word below cursor (makes it easier to c and d)
require("mini.indentscope").setup({
require("mini.indentscope").setup({ -- shows indents
symbol = "",
draw = {
delay = 10,
@@ -17,24 +19,20 @@ return {
easing = "out",
}),
},
}) -- Indent lines
})
require("mini.trailspace").setup() -- Shows useless spaces
require("mini.sessions").setup({
require("mini.sessions").setup({ -- dir based session management
autoread = true,
autowrite = true,
file = ".session",
force = { read = false, write = true, delete = true },
})
-- require("mini.notify").setup({
-- window = { winblend = 0 },
-- }) -- Better Notifications
-- vim.notify = MiniNotify.make_notify({
-- ERROR = { duration = 5000 },
-- WARN = { duration = 4000 },
-- INFO = { duration = 3000 },
-- })
require("mini.surround").setup() -- Suround selections with characters
require("mini.move").setup({
require("mini.move").setup({ -- move selection in visual mode
mappings = {
down = "J",
up = "K",
@@ -42,6 +40,8 @@ return {
})
require("mini.icons").setup() -- Icon provider
local animate = require("mini.animate") -- animations ovs
require("mini.animate").setup({
cursor = {
enable = false,
@@ -58,7 +58,7 @@ return {
-- Animate with wiping from nearest edge instead of default static one
winconfig = animate.gen_winconfig.wipe({ direction = "from_edge" }),
-- Make bigger windows more transparent
winblend = animate.gen_winblend.linear({ from = 80, to = 100 }),
winblend = animate.gen_winblend.linear({ from = 0, to = 0 }),
},
close = {
-- Animate for 400 milliseconds with linear easing
@@ -66,7 +66,7 @@ return {
-- Animate with wiping to nearest edge instead of default static one
winconfig = animate.gen_winconfig.wipe({ direction = "to_edge" }),
-- Make bigger windows more transparent
winblend = animate.gen_winblend.linear({ from = 100, to = 80 }),
winblend = animate.gen_winblend.linear({ from = 0, to = 0 }),
},
})
end,