Flatten modules
This commit is contained in:
parent
ab5ae74dda
commit
d1a58fec56
86 changed files with 64 additions and 50 deletions
18
modules/home-manager/neovim/config/plugins/fugitive.nix
Normal file
18
modules/home-manager/neovim/config/plugins/fugitive.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
plugins.fugitive.enable = true;
|
||||
|
||||
keymaps = lib.mkIf config.plugins.fugitive.enable [
|
||||
{
|
||||
key = "<leader>gc";
|
||||
action = "<cmd>Git commit<CR><C-w>K";
|
||||
}
|
||||
|
||||
{
|
||||
# Open the ":Git" window in its own buffer, not a split.
|
||||
key = "<leader>gs";
|
||||
action = "<cmd>0Git<CR>";
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue