initial
This commit is contained in:
21
config/git/neogit.nix
Normal file
21
config/git/neogit.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
neogit.enable = lib.mkEnableOption "Enable neogit module";
|
||||
};
|
||||
config = lib.mkIf config.neogit.enable {
|
||||
plugins.neogit = {
|
||||
enable = false;
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>gg";
|
||||
action = "<cmd>Neogit<CR>";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user