Compare commits

...

2 commits

Author SHA1 Message Date
a5eb7fe89e
lazygit: added 2024-08-20 20:51:56 +08:00
b7505e4d1b
gitsigns: toggle preview after moving to next hunk 2024-08-20 20:49:37 +08:00
3 changed files with 8 additions and 1 deletions

View file

@ -5,9 +5,10 @@
./comment.nix
./core.nix
./direnv.nix
./gitsign.nix
./gitsigns.nix
./indent-blankline.nix
./keybindings.nix
./lazygit.nix
./lsp
./project.nix
./rainbow-delimiters.nix

View file

@ -16,6 +16,7 @@
vim.cmd.normal({']c', bang = true})
else
require("gitsigns").nav_hunk('next')
require("gitsigns").preview_hunk()
end
end
'';

5
config/lazygit.nix Normal file
View file

@ -0,0 +1,5 @@
{
plugins.lazygit = {
enable = true;
};
}