add lazygit and telescope

This commit is contained in:
Roel de Cort 2024-04-13 15:22:47 +02:00
parent 782db01732
commit 5a0a691361
3 changed files with 237 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ 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)";
};
}
];
};