AutoYADM commit: 2024-12-04 17:50:03
This commit is contained in:
parent
0ab055d780
commit
58e517b171
1 changed files with 94 additions and 79 deletions
|
@ -1,12 +1,7 @@
|
||||||
return {
|
return {
|
||||||
"folke/snacks.nvim",
|
"folke/snacks.nvim",
|
||||||
priority = 1000,
|
|
||||||
lazy = false,
|
|
||||||
|
|
||||||
opts = {
|
opts = {
|
||||||
dashboard = {
|
dashboard = {
|
||||||
{
|
|
||||||
enabled = true,
|
|
||||||
width = 60,
|
width = 60,
|
||||||
row = nil, -- dashboard position. nil for center
|
row = nil, -- dashboard position. nil for center
|
||||||
col = nil, -- dashboard position. nil for center
|
col = nil, -- dashboard position. nil for center
|
||||||
|
@ -36,23 +31,14 @@ return {
|
||||||
{ icon = " ", key = "L", desc = "Lazy", action = ":Lazy", enabled = package.loaded.lazy ~= nil },
|
{ icon = " ", key = "L", desc = "Lazy", action = ":Lazy", enabled = package.loaded.lazy ~= nil },
|
||||||
{ icon = " ", key = "q", desc = "Quit", action = ":qa" },
|
{ icon = " ", key = "q", desc = "Quit", action = ":qa" },
|
||||||
},
|
},
|
||||||
|
-- Used by the `header` section
|
||||||
header = [[
|
header = [[
|
||||||
_.oo.
|
███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗
|
||||||
_.u[[/;:,. .odMMMMMM'
|
████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║
|
||||||
.o888UU[[[/;:-. .o@P^ MMM^
|
██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║
|
||||||
oN88888UU[[[/;::-. dP^
|
██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║
|
||||||
dNMMNN888UU[[[/;:--. .o@P^
|
██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║
|
||||||
,MMMMMMN888UU[[/;::-. o@^
|
╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝]],
|
||||||
NNMMMNN888UU[[[/~.o@P^
|
|
||||||
888888888UU[[[/o@^-..
|
|
||||||
oI8888UU[[[/o@P^:--..
|
|
||||||
.@^ YUU[[[/o@^;::---..
|
|
||||||
oMP ^/o@P^;:::---..
|
|
||||||
.dMMM .o@^ ^;::---...
|
|
||||||
dMMMMMMM@^` `^^^^
|
|
||||||
YMMMUP^
|
|
||||||
^^
|
|
||||||
]], -- Used by the `header` section
|
|
||||||
},
|
},
|
||||||
-- item field formatters
|
-- item field formatters
|
||||||
formats = {
|
formats = {
|
||||||
|
@ -86,5 +72,34 @@ YMMMUP^
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
-- return {
|
||||||
|
-- "folke/snacks.nvim",
|
||||||
|
-- opts = {
|
||||||
|
-- dashboard = {
|
||||||
|
-- preset = {
|
||||||
|
-- header = [[
|
||||||
|
-- ██╗ █████╗ ███████╗██╗ ██╗██╗ ██╗██╗███╗ ███╗ Z
|
||||||
|
-- ██║ ██╔══██╗╚══███╔╝╚██╗ ██╔╝██║ ██║██║████╗ ████║ Z
|
||||||
|
-- ██║ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX█╔████╔██║ z
|
||||||
|
-- ██║ ██╔══██║ ███╔╝ ╚██╔╝ ╚██╗ ██╔╝██║██║╚██╔╝██║ z
|
||||||
|
-- ███████╗██║ ██║███████╗ ██║ ╚████╔╝ ██║██║ ╚═╝ ██║
|
||||||
|
-- ╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝
|
||||||
|
-- ]],
|
||||||
|
-- -- stylua: ignore
|
||||||
|
-- ---@type snacks.dashboard.Item[]
|
||||||
|
-- keys = {
|
||||||
|
-- { icon = " ", key = "f", desc = "Find File", action = ":lua Snacks.dashboard.pick('files')" },
|
||||||
|
-- { icon = " ", key = "n", desc = "New File", action = ":ene | startinsert" },
|
||||||
|
-- { icon = " ", key = "g", desc = "Find Text", action = ":lua Snacks.dashboard.pick('live_grep')" },
|
||||||
|
-- { icon = " ", key = "r", desc = "Recent Files", action = ":lua Snacks.dashboard.pick('oldfiles')" },
|
||||||
|
-- { icon = " ", key = "c", desc = "Config", action = ":lua Snacks.dashboard.pick('files', {cwd = vim.fn.stdpath('config')})" },
|
||||||
|
-- { icon = " ", key = "s", desc = "Restore Session", section = "session" },
|
||||||
|
-- { icon = " ", key = "x", desc = "Lazy Extras", action = ":LazyExtras" },
|
||||||
|
-- { icon = " ", key = "l", desc = "Lazy", action = ":Lazy" },
|
||||||
|
-- { icon = " ", key = "q", desc = "Quit", action = ":qa" },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue