Show diff automatically when git rebase.
https://user-images.githubusercontent.com/8683947/229416568-b50a6391-bd0b-4e61-88d8-2edeabcc1cd2.mp4
Inspired by hotwatermorning/auto-git-diff
using folke/lazy.nvim
{
"yutkat/git-rebase-auto-diff.nvim",
ft = { "gitrebase" },
opts = {
size = vim.fn.float2nr(vim.o.lines * 0.5),
run_show = false,
},
}
git rebase -i HEAD^^^