Request:
- setting to keep cursor centered during debug session OR
- setting to keep buffer space (# of lines) between cursor and bottom of screen. Aka: vim scroll offset
When I am in a debugging session, stepping through my code, the cursor naturally walks its way down the screen with each "step", until it reaches the bottom of the screen. For each subsequent step lines below the cursor are off the screen and I can't tell what's getting ready to happen, so I manually scroll the text to bring the cursor back up so I can see the next few lines of code.
Is it possible to configure a setting to add buffer space (vim calls this "scroll offset") such that the cursor never reaches the bottom/last line on the screen? This would be a setting where the cursor would always remain above the bottom few(configurable) lines.
This could be for all editor perspectives or, my preference, if in a debug session, most debuggers keep the cursor centered on the screen so that any "continue", "run", or "step into" actions result in the cursor being centered and in an expected location on the screen after the program execution has reached the stopping point/break.