Initial Commit
This commit is contained in:
commit
18da9560c6
31 changed files with 769 additions and 0 deletions
36
lua/plugins/snacks.lua
Normal file
36
lua/plugins/snacks.lua
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
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" },
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue