nixvim/config/plugins/git/lazygit.nix
Patrick Michl 28d8213ebc
add config
2024-11-05 13:01:15 +01:00

25 lines
365 B
Nix

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