This commit is contained in:
parent
a0575bdb2a
commit
703bf836de
210 changed files with 1 additions and 1 deletions
18
modules/nixvim/fugitive.nix
Normal file
18
modules/nixvim/fugitive.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
flake.modules.nixvim.custom = {
|
||||
plugins.fugitive.enable = true;
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
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