Diff: Toggle Smart Line Alignment

diff.toggleSmartAlignment

Align related changed lines around inserted and removed lines in the active diff.

How to run it

Open the command palette (M-x in the Emacs keymap) and search for Diff: Toggle Smart Line Alignment, then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.

See also