diff --git a/config/plugins/git/lazygit.nix b/config/plugins/git/lazygit.nix index d3e31d4..8add97d 100644 --- a/config/plugins/git/lazygit.nix +++ b/config/plugins/git/lazygit.nix @@ -8,10 +8,25 @@ keymaps = [ { mode = "n"; - key = "lg"; + key = "gg"; action = "LazyGit"; - options.desc = "LazyGit"; + options = { + desc = "Open LazyGit"; + }; + } + + { + mode = "n"; + key = "lr"; + action = "lua require(\"telescope\").extensions.lazygit.lazygit()"; + options = { + desc = "List repositories"; + }; } ]; + + extraConfigLua = '' + require("telescope").load_extension("lazygit") + ''; }