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 2 deletions

View file

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

View file

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

5
config/lazygit.nix Normal file
View file

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