Suppose I have a very long file, for example:
class X {
// ...
void foo() {
// ...
if (something) {
a00();
a01();
a02();
// ...
// ...
a98();
a99();
}
}
}
When scrolling down to the bottom, all the context (ie., class X
, void foo
, if (something)
) is invisible simply because its outside the current view:
a93();
a94();
a95();
a96();
a97();
a98();
a99();
}
}
}
Is there any way to make vim keep the current context, ie, display something like this:
class X { <C>
void foo() { <C>
if (something) { <C>
a96();
a97();
a98();
a99();
}
}
}
with some markings (<C>
in my example) to denote that the lines above a96
are not directly preceding the next one?