FG
💻 Software

Make vimdiff show entire file

Fresh5 days ago
Mar 15, 202633636 views
Confidence Score1%
1%

Problem

How can you have vimdiff show the entire contents of the files being differenced? I'd like the color highlights of the differences, but would still like to see the entire files, i.e. the parts that are identical as well.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Make vimdiff show entire file

Low Risk

sets so all unchanged lines are folded. From inside you can open all folds by pressing . If you would like to always show the full context you could increase the number of unfolded context lines shown to some large number. In your :

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment