moved nixvim into own home-manager module.
moved pass store location.
This commit is contained in:
parent
bbc6beb3da
commit
2253c6c34a
28 changed files with 24 additions and 11 deletions
25
modules/home-manager/nvim/gitsigns.nix
Normal file
25
modules/home-manager/nvim/gitsigns.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
configs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.nixvim = {
|
||||
plugins.gitsigns = {
|
||||
enable = true;
|
||||
};
|
||||
plugins.which-key.registrations = {
|
||||
"<leader>g" = "+git";
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
action = ":Gitsigns toggle_current_line_blame<CR>";
|
||||
key = "<leader>gb";
|
||||
mode = "n";
|
||||
options = {
|
||||
silent = true;
|
||||
desc = "toggle git blame";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue