Update init.lua

This commit is contained in:
vx_clutch
2024-11-22 10:07:38 -05:00
committed by GitHub
parent 83df28924c
commit 109db8a313

View File

@@ -565,4 +565,17 @@ require("lazy").setup({
}) })
end, end,
}, },
{
"https://git.sr.ht/~swaits/scratch.nvim",
lazy = true,
keys = {
{ "<leader>bs", "<cmd>Scratch<cr>", desc = "Scratch Buffer", mode = "n" },
{ "<leader>bS", "<cmd>ScratchSplit<cr>", desc = "Scratch Buffer (split)", mode = "n" },
},
cmd = {
"Scratch",
"ScratchSplit",
},
opts = {},
}
}) })