nvim: revert dashboard changes
This commit is contained in:
parent
018768564d
commit
316cdf130a
2 changed files with 22 additions and 5 deletions
|
@ -8,6 +8,28 @@ 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 },
|
||||
|
|
|
@ -82,9 +82,4 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
-- Dashboard
|
||||
"echasnovski/mini.starter",
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue