neovim additions
This commit is contained in:
parent
315e988734
commit
409f13a1db
25 changed files with 242 additions and 86 deletions
16
home/afoucaultc/packages/neovim/plugins/neogit.nix
Normal file
16
home/afoucaultc/packages/neovim/plugins/neogit.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.nixvim.plugins = {
|
||||
neogit.enable = true;
|
||||
diffview.enable = true; # compagnon habituel de neogit pour les diffs
|
||||
};
|
||||
|
||||
programs.nixvim.keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>gg";
|
||||
action = "<cmd>Neogit<cr>";
|
||||
options.desc = "Open Neogit";
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue