git-rebase-auto-diff

July 19, 2025 ยท View on GitHub

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

Installation

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,
	},
}

Usage

git rebase -i HEAD^^^

Contents

  1. 1Installation
  2. 2Usage