Vimdiff expand

Previously if you went to a section in vimdiff if you went to a plus sign and you pressed the arrow keys you could expand it. Has this feature changed? Now it only sometimes works. Using SunOS if that matters.

@cokedude, not sure how it would 'only sometimes works'

put cursor on the + , zo to expand , - zc to collapse(aka fold)

  • to move through
  • to move back through

fyi

VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 07 2023 15:42:49)
Included patches: 1-213, 1840, 214-579, 1969, 580-1848, 4975, 5023, 2110, 1849-1854, 1857, 1855-1857, 1331, 1858, 1858-1859, 1873, 1860-1969, 1992, 1970-1992, 2010, 1993-2068, 2106, 2069-2106, 2108, 2107-2109, 2109-2111, 2111-2112, 2112-2269, 3612, 3625, 3669, 3741, 1847

cheatsheet(s)

1 Like