Compare commits
2 commits
2450f6b222
...
c7b89f343d
Author | SHA1 | Date | |
---|---|---|---|
c7b89f343d | |||
80fdc97c28 |
2 changed files with 38 additions and 1 deletions
|
@ -8,7 +8,28 @@ return {
|
|||
lazy = false,
|
||||
opts = {
|
||||
bigfiles = { enabled = true },
|
||||
dashboard = { 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 },
|
||||
|
@ -53,4 +74,8 @@ return {
|
|||
extensions = { lazy_nvim = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
"m4xshen/autoclose.nvim",
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
return {
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
lazy = false,
|
||||
requires = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"xvzc/chezmoi.nvim",
|
||||
},
|
||||
config = function()
|
||||
local telescope = require("telescope")
|
||||
telescope.setup({})
|
||||
|
@ -33,5 +38,12 @@ return {
|
|||
}),
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
"<leader>fc",
|
||||
"<cmd>Telescope chezmoi find_files<cr>",
|
||||
desc = "Find Chezmoi-managed files",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue