nvim/plugins/git.nix
2026-04-06 10:55:52 +02:00

22 lines
394 B
Nix

{pkgs, ...}: {
vim.git = {
gitsigns.enable = true;
vim-fugitive.enable = true;
};
vim.extraPlugins = with pkgs.vimPlugins; {
lazygit-nvim = {
package = lazygit-nvim;
setup = ''require("lazygit").setup({})'';
};
};
vim.keymaps = [
{
key = "<leader>gg";
mode = ["n"];
action = "<cmd>LazyGit<CR>";
desc = "LazyGit";
}
];
}