Re-add vim-fugitive

This commit is contained in:
Oliver Davies 2025-11-10 19:55:17 +00:00
parent b42daccb99
commit c1ccef5e32

View file

@ -0,0 +1,18 @@
{
flake.modules.nixvim.custom = {
plugins.fugitive.enable = true;
keymaps = [
{
key = "<leader>gc";
action = "<cmd>Git commit<CR><C-w>K";
}
{
# Open the ":Git" window in its own buffer, not a split.
key = "<leader>gs";
action = "<cmd>0Git<CR>";
}
];
};
}