nvim/lua/plugins/snacks.lua
Maurice Grönwoldt 18da9560c6
Initial Commit
2025-07-30 16:05:16 +02:00

36 lines
948 B
Lua

local header_string = [[
__ __ ____ _____ _____
\ \ /"/u / __"| u |_ " _| |"_ /u
\ \ / // <\___ \/ | | U / //
/\ V /_,-.u___) | /| |\ \/ /_
U \_/-(_/ |____/>> u |_|U /____|
// )( (__)_// \\_ _//<<,-
(__) (__) (__) (__)(__) (_/ ]]
return {
"folke/snacks.nvim",
priority = 1000,
lazy = false,
opts = {
dashboard = {
enabled = true,
preset = {
header = header_string
}
},
explorer = { enabled = true },
input = { enabled = true },
notifier = {
enabled = true,
timeout = 10000
},
lazygit = {
enabled = true
}
},
keys = {
{ "<leader>n", function() Snacks.picker.notifications() end, desc = "Notification History" },
{ "<leader>e", function() Snacks.explorer() end, desc = "File Explorer" },
{ "<leader>gg", function() Snacks.lazygit() end, desc = "Lazygit" },
}
}