nvim: replace a bunch of stuff with mini.nvim
This commit is contained in:
parent
e2b9f07292
commit
018768564d
2 changed files with 90 additions and 29 deletions
|
@ -8,34 +8,9 @@ return {
|
|||
lazy = false,
|
||||
opts = {
|
||||
bigfiles = { enabled = true },
|
||||
dashboard = {
|
||||
enabled = true,
|
||||
sections = {
|
||||
{ section = "header" },
|
||||
{ icon = " ", title = "Recent Files", section = "recent_files", indent = 2, padding = 1 },
|
||||
{ icon = " ", title = "Projects", section = "projects", indent = 2, padding = 1 },
|
||||
{
|
||||
icon = " ",
|
||||
title = "Git Status",
|
||||
section = "terminal",
|
||||
enabled = function()
|
||||
return Snacks.git.get_root() ~= nil
|
||||
end,
|
||||
cmd = "git status --short --branch --renames",
|
||||
height = 5,
|
||||
padding = 1,
|
||||
ttl = 5 * 60,
|
||||
indent = 3,
|
||||
},
|
||||
},
|
||||
preset = { keys = {} },
|
||||
},
|
||||
indent = { enabled = true, animate = { enabled = false } },
|
||||
input = { enabled = true },
|
||||
lazygit = { enabled = true, configure = true },
|
||||
picker = { enabled = true },
|
||||
quickfile = { enabled = true },
|
||||
statuscolumn = { enabled = true },
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
|
@ -74,10 +49,6 @@ return {
|
|||
extensions = { lazy_nvim = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
"m4xshen/autoclose.nvim",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"wsdjeg/rooter.nvim",
|
||||
opts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue