nixvim/config/plugins/git/lazygit.nix
Roel de Cort c268b0f2a8 typo
2024-04-13 21:17:36 +02:00

20 lines
335 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)";
};
}
];
}