mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
docs: updated example
This commit is contained in:
parent
81cb82b230
commit
a5a2d16390
3 changed files with 21 additions and 4 deletions
|
@ -6,13 +6,21 @@ return {
|
|||
---@type snacks.Config
|
||||
opts = {
|
||||
bigfile = { enabled = true },
|
||||
notifier = { enabled = true },
|
||||
notifier = {
|
||||
enabled = true,
|
||||
timeout = 3000,
|
||||
},
|
||||
quickfile = { enabled = true },
|
||||
statuscolumn = { enabled = true },
|
||||
words = { enabled = true },
|
||||
styles = {
|
||||
notification = {
|
||||
wo = { wrap = true } -- Wrap notifications
|
||||
}
|
||||
}
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>un", function() Snacks.notifier:hide() end, desc = "Dismiss All Notifications" },
|
||||
{ "<leader>un", function() Snacks.notifier.hide() end, desc = "Dismiss All Notifications" },
|
||||
{ "<leader>bd", function() Snacks.bufdelete() end, desc = "Delete Buffer" },
|
||||
{ "<leader>gg", function() Snacks.lazygit() end, desc = "Lazygit" },
|
||||
{ "<leader>gb", function() Snacks.git.blame_line() end, desc = "Git Blame Line" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue