feat(snacks): added leader-. to toggle a scratch buffer. Uses count for new scratch buffers

This commit is contained in:
Folke Lemaitre
2024-12-01 09:31:24 +01:00
parent e05379babc
commit 6d42f1084d

View File

@ -50,6 +50,7 @@ return {
end,
-- stylua: ignore
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>un", function() Snacks.notifier.hide() end, desc = "Dismiss All Notifications" },