feat(nvim): add snacks bindings for git branches

This commit is contained in:
Sergio Laín 2025-09-02 18:19:50 +02:00
parent 7a0665fd03
commit 95a882a0e5
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438

View file

@ -87,6 +87,7 @@ return {
}, },
}) end, desc = "Zoxide" }, }) end, desc = "Zoxide" },
{ "<leader>S", function() Snacks.picker.spelling() end, desc = "Spelling" }, { "<leader>S", function() Snacks.picker.spelling() end, desc = "Spelling" },
{ "<leader>gb", function() Snacks.picker.git_branches() end, desc = "Git Branches" },
{ "<leader>,", function() Snacks.picker.buffers({ { "<leader>,", function() Snacks.picker.buffers({
on_show = function() on_show = function()
vim.cmd.stopinsert() vim.cmd.stopinsert()