feat(snacks): added profiler keymaps

This commit is contained in:
Folke Lemaitre 2024-12-12 12:29:43 +01:00
parent 2acedaa3a8
commit a8332c6d50
5 changed files with 11 additions and 4 deletions

View file

@ -27,6 +27,12 @@ return {
},
},
},
-- stylua: ignore
keys = {
{ "<leader>.", function() Snacks.scratch() end, desc = "Toggle Scratch Buffer" },
{ "<leader>S", function() Snacks.scratch.select() end, desc = "Select Scratch Buffer" },
{ "<leader>dps", function() Snacks.profiler.scratch() end, desc = "Profiler Scratch Buffer" },
},
},
-- Session management. This saves your session in the background,