Change how many lines are below cursor-line


#1

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.


#2

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


#3

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


#4

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

@as_cii, do you have any suggestions?


#5

GitHub issue: