nixvim: move plugin configuration
This commit is contained in:
parent
60d1769903
commit
01cc01069b
36 changed files with 0 additions and 0 deletions
18
modules2/nixvim/fugitive.nix
Normal file
18
modules2/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