Use nixvim

This commit is contained in:
Oliver Davies 2025-06-02 02:09:06 +01:00 committed by Oliver Davies
parent f0217e4640
commit ecb2a05d60
72 changed files with 691 additions and 1664 deletions

View 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>";
}
];
}