Compare commits
2 commits
018768564d
...
cc39b20de7
Author | SHA1 | Date | |
---|---|---|---|
cc39b20de7 | |||
316cdf130a |
2 changed files with 55 additions and 7 deletions
|
@ -2,12 +2,38 @@
|
|||
|
||||
return {
|
||||
"nvim-lua/plenary.nvim",
|
||||
{
|
||||
"stevearc/dressing.nvim",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"folke/snacks.nvim",
|
||||
priority = 1000, -- needs to be set up early
|
||||
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 },
|
||||
|
@ -48,6 +74,18 @@ return {
|
|||
opts = {
|
||||
extensions = { lazy_nvim = true },
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>,k",
|
||||
"<cmd>Legendary keymaps<cr>",
|
||||
desc = "Find keymaps",
|
||||
},
|
||||
{
|
||||
"<leader>,c",
|
||||
"<cmd>Legendary commands<cr>",
|
||||
desc = "Find commands",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"wsdjeg/rooter.nvim",
|
||||
|
|
|
@ -12,7 +12,6 @@ return {
|
|||
opts = {},
|
||||
},
|
||||
{
|
||||
-- Surround operations
|
||||
"echasnovski/mini.surround",
|
||||
opts = {},
|
||||
},
|
||||
|
@ -56,7 +55,18 @@ return {
|
|||
{
|
||||
-- Label jumping for visible characters
|
||||
"echasnovski/mini.jump2d",
|
||||
opts = {},
|
||||
opts = {
|
||||
mappings = {
|
||||
start_jumping = "",
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>j",
|
||||
"<cmd>lua MiniJump2d.start()<cr>",
|
||||
desc = "Jump to visible",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
-- File icons
|
||||
|
@ -68,6 +78,11 @@ return {
|
|||
"echasnovski/mini.tabline",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
-- Another picker
|
||||
"echasnovski/mini.pick",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
-- Decent interactive file management
|
||||
"echasnovski/mini.files",
|
||||
|
@ -82,9 +97,4 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
-- Dashboard
|
||||
"echasnovski/mini.starter",
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue