From 662e20f79722a33aafeaf8dbc3bcf609cb5f2e3f Mon Sep 17 00:00:00 2001 From: alejandro-angulo Date: Sat, 3 Aug 2024 13:57:30 -0700 Subject: [PATCH] Added lazygit integration --- config/default.nix | 1 + config/plugins/lazygit.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 config/plugins/lazygit.nix diff --git a/config/default.nix b/config/default.nix index 73d72d3..19dbfc4 100644 --- a/config/default.nix +++ b/config/default.nix @@ -4,6 +4,7 @@ imports = [ ./plugins/cmp.nix ./plugins/gitsigns.nix + ./plugins/lazygit.nix ./plugins/lsp.nix ./plugins/lualine.nix ./plugins/rhubarb.nix diff --git a/config/plugins/lazygit.nix b/config/plugins/lazygit.nix new file mode 100644 index 0000000..fd21df7 --- /dev/null +++ b/config/plugins/lazygit.nix @@ -0,0 +1,16 @@ +{ + plugins.lazygit = { + enable = true; + }; + + keymaps = [ + { + action = ":LazyGit"; + key = "lg"; + } + { + action = ":LazyGitFilter"; + key = "lc"; + } + ]; +}