gitsigns: toggle preview after moving to next hunk
This commit is contained in:
parent
03c3e0afe0
commit
b7505e4d1b
2 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
./comment.nix
|
||||
./core.nix
|
||||
./direnv.nix
|
||||
./gitsign.nix
|
||||
./gitsigns.nix
|
||||
./indent-blankline.nix
|
||||
./keybindings.nix
|
||||
./lsp
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
vim.cmd.normal({']c', bang = true})
|
||||
else
|
||||
require("gitsigns").nav_hunk('next')
|
||||
require("gitsigns").preview_hunk()
|
||||
end
|
||||
end
|
||||
'';
|
Loading…
Reference in a new issue