Change how many lines are below cursor-line


As you navigate downwards in a file Atom always keeps two lines below the current cursor-line. In the screenshot pressing ctrl-n or :arrow_down: once will bring line 55 into view.

Is it possible to change this number of lines? So that going to the next line would bring e.g. lines 55-58 into view.


It’s not configurable … but it could probably be made to be so with a change to the code.


Do you happen to know which package is doing that or if it is something in Atom core?


That would be in core, I’m pretty sure. You might try TextEditorComponent or TextEditorPresenter.

@as_cii, do you have any suggestions?


GitHub issue: