Repository navigation
Fold long hunks with a settings toggle
New optional Fold long hunks setting (Settings → Plugins → Inline diff): hunks longer than the configured visible rows per end collapse their middle behind a toggle bar.
- Stepper for visible rows per end, default 8, clamped to 1..100 (en and zh)
- Click / Enter / Space reveals the hidden middle; the bar that replaces it folds it back
- Hovering an open bar previews what would be hidden in both columns
- Truncation policy stays intact: bars never appear on already-truncated hunks and never advertise more lines than expanding actually renders
Feature idea by @zjh1159086960-crypto in #1.