From 32cc39c4002eb91b45e3b5d69795746c24ceb0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Thu, 24 Oct 2024 11:47:19 +0200 Subject: [PATCH] feat: add lazygit --- modules/profiles/base.nix | 3 ++- modules/programs/nvim/new_plugins/lazygit.nix | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 modules/programs/nvim/new_plugins/lazygit.nix diff --git a/modules/profiles/base.nix b/modules/profiles/base.nix index 7586fad..ca8a8b4 100644 --- a/modules/profiles/base.nix +++ b/modules/profiles/base.nix @@ -241,15 +241,16 @@ in which-nix # utils + (viu.override { withSixel = true; }) bat cht-sh f fd gi + lazygit parallel ripgrep vim - (viu.override { withSixel = true; }) wget ]; diff --git a/modules/programs/nvim/new_plugins/lazygit.nix b/modules/programs/nvim/new_plugins/lazygit.nix new file mode 100644 index 0000000..9cb3060 --- /dev/null +++ b/modules/programs/nvim/new_plugins/lazygit.nix @@ -0,0 +1,14 @@ +_: + +{ + home-manager.users.moritz.programs.nixvim = { + keymaps = [ + { key = "g"; action = "LazyGit"; options.desc = "Lazygit"; } + ]; + + plugins.lazygit = { + enable = true; + settings = { }; + }; + }; +}