git difftool --tool=vimdiff git difftool --tool=vimdiff[tpope's vim-fugitive]: https://github.com/tpope/vim-fugitive
I'll paste it next time I'm on that machine.
[on sourcehut]: https://git.sr.ht/~jbaber/shadiff
[on github]: https://github.com/jbaber/shadiff
vim folds are fully programmable. For me a bigger issue was git calling vimdiff for each file, which I fixed with my own difftool: https://gist.github.com/PhilipRoman/60066716b5fa09fcabfa6c95...
(I found that my mac machine doesn't support the '-printf' option, and also I was attempting to run 'git bvd main' on a branch but it seems it does a recursive directory diff, so I'll use 'git diff --name-only' as the input to the awk command).
Edit: worked nicely! I haven't used tabs much in vim so is a slightly new workflow but otherwise very handy
If you configure vimdiff as the difftool in your git config, just doing a `git diff` would show you the diff for each file sequentially.