From c1ccef5e32f998797b5a7289dd4e85e887368285 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 10 Nov 2025 19:55:17 +0000 Subject: [PATCH] Re-add vim-fugitive --- modules/nixvim/fugitive.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 modules/nixvim/fugitive.nix diff --git a/modules/nixvim/fugitive.nix b/modules/nixvim/fugitive.nix new file mode 100644 index 00000000..ac800972 --- /dev/null +++ b/modules/nixvim/fugitive.nix @@ -0,0 +1,18 @@ +{ + flake.modules.nixvim.custom = { + plugins.fugitive.enable = true; + + keymaps = [ + { + key = "gc"; + action = "Git commitK"; + } + + { + # Open the ":Git" window in its own buffer, not a split. + key = "gs"; + action = "0Git"; + } + ]; + }; +}