{ config, lib, ... }: { plugins.fugitive.enable = true; keymaps = lib.mkIf config.plugins.fugitive.enable [ { key = "gc"; action = "Git commitK"; } { # Open the ":Git" window in its own buffer, not a split. key = "gs"; action = "0Git"; } ]; }