[delta] side-by-side = true
By default, side-by-side view has line-numbers activated, and has syntax highlighting in both the left and right panels: [config]
To activate and deactivate side-by-side view from the command line, consider using the
DELTA_FEATURES environment variable. For example:
export DELTA_FEATURES=+side-by-side # activate export DELTA_FEATURES=+ # deactivate
To disable the line numbers in side-by-side view, but keep a vertical delimiter line between the left and right panels, use the line-numbers format options. For example:
[delta] side-by-side = true line-numbers-left-format = "" line-numbers-right-format = "│ "
Long lines are wrapped if they do not fit in side-by-side mode. In the image below, the long deleted line in the left panel overflows by a small amount, and the wrapped content is right-aligned in the next line. In contrast, the long replacement line in the right panel overflows by almost an entire line, and so the wrapped content is left aligned in the next line. The arrow markers and ellipsis explain when and how text has been wrapped.
For control over the details of line wrapping, see
Line wrapping was implemented by @th1000s.