feat(snacks): added leader-S to select a previous scratch buffer

This commit is contained in:
Folke Lemaitre 2024-12-01 09:30:49 +01:00
parent be0cb9622d
commit e05379babc
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -50,6 +50,7 @@ return {
end, end,
-- stylua: ignore -- stylua: ignore
keys = { keys = {
{ "<leader>S", function() Snacks.scratch.select() end, desc = "Select Scratch Buffer" },
{ "<leader>n", function() Snacks.notifier.show_history() end, desc = "Notification History" }, { "<leader>n", function() Snacks.notifier.show_history() end, desc = "Notification History" },
{ "<leader>un", function() Snacks.notifier.hide() end, desc = "Dismiss All Notifications" }, { "<leader>un", function() Snacks.notifier.hide() end, desc = "Dismiss All Notifications" },
}, },