nixvim/config/plugins/git/lazygit.nix
2024-04-13 15:22:47 +02:00

21 lines
339 B
Nix

{ pkgs, ... }: {
extraPlugins = with pkgs.vimPlugins; [
lazygit-nvim
];
extraConfigLua = ''
require("telescope").load_extension("lazygit")
'';
keymaps = [
{
mode = "n";
key = "<leader>gg";
action = "<cmd>LazyGit<CR>";
options = {
desc = "LazyGit (root dir)";
};
}
];
};