diff --git a/home/emmatherock/neovim.nix b/home/emmatherock/neovim.nix index 9329a8a..69305db 100644 --- a/home/emmatherock/neovim.nix +++ b/home/emmatherock/neovim.nix @@ -120,6 +120,9 @@ # --- Git: gutter signs, hunk stage/reset, blame --- plugins.gitsigns.enable = true; + # --- Git: interactive status/commit/diff/blame --- + plugins.fugitive.enable = true; + # --- Statusline --- plugins.lualine.enable = true; @@ -206,6 +209,13 @@ { mode = [ "n" "v" ]; key = "ac"; action = "CodeCompanionChat Toggle"; } { mode = "v"; key = "aa"; action = "CodeCompanionChat Add"; } { mode = "n"; key = "ai"; action = "CodeCompanion"; } # inline assistant + + # Fugitive + { mode = "n"; key = "gs"; action = "Git"; } # status + { mode = "n"; key = "gc"; action = "Git commit"; } # interactive commit + { mode = "n"; key = "gp"; action = "Git push"; } + { mode = "n"; key = "gl"; action = "Git pull"; } + { mode = "n"; key = "gd"; action = "Gvdiffsplit"; } # diff current file ]; }; }