-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
There is some fancy usage for git diff. Can we have a configuration option for git diff?
Describe the solution you'd like
I apologize if there is already one of such settings available, I'm just not seeing one when examining #797. The current default config file is largely empty, by the way. Could/shall we add all available options there, while commenting out, so that users can easily find and toggle them? - Umm, this alone could be a separated feature requirement.
UPDATE 2025
Starting from upcoming lazygit 0.55, you will be able to opt in for git's existing external diff setup by configuring:
git:
paging:
# If true, Lazygit will use git's `diff.external` config for paging. The advantage over `externalDiffCommand` is that this can be configured per file type in .gitattributes; see https://git-scm.com/docs/gitattributes#_defining_an_external_diff_driver.
useExternalDiffGitConfig: true
aksh1618