feat: config refresh

This commit is contained in:
Devin Haska 2025-05-27 11:54:49 -07:00
parent f19c3e021d
commit 2a9d2537e1
16 changed files with 217 additions and 233 deletions

23
lua/plugins/snack.lua Normal file
View file

@ -0,0 +1,23 @@
return {
"folke/snacks.nvim",
priority = 1000,
lazy = false,
opts = {
dashboard = { enabled = true },
git = { enabled = true },
lazygit = { enabled = true },
notifier = { enabled = true },
quickfile = { enabled = true },
scratch = { enabled = true },
statuscolumn = { enabled = true },
terminal = { enabled = true },
},
keys = {
{ "<leader>.", function() Snacks.scratch() end, desc = "Toggle Scratch Buffer" },
{ "<leader>S", function() Snacks.scratch.select() end, desc = "Select Scratch Buffer" },
{ "<leader>n", function() Snacks.notifier.show_history() end, desc = "Notification History" },
{ "<leader>gb", function() Snacks.git.blame_line() end, desc = "Git Blame Line" },
{ "<leader>gg", function() Snacks.lazygit() end, desc = "Lazygit" },
{ "<c-/>", function() Snacks.terminal() end, desc = "Toggle Terminal" },
}
}