Sublime Text 3 - scroll to last line only

Whenever I scroll to the end of the text file, it will scroll far beyond the last line and I get a blank screen.
Then, in order to see the last lines of text, I need to scroll down a bit, and in huge log files it usually scrolls too much.

I'll give you an example.
When I scroll all the way down, this is what I expect to see:

560 lorem ipsum
561 lorem ipsum
562 lorem ipsum
563 lorem ipsum
564 lorem ipsum
565 lorem ipsum
566 lorem ipsum
567 lorem ipsum
568 lorem ipsum
569 lorem ipsum
570 lorem ipsum

But instead I see this:

 
 
 
 
 
 
 
 
 
 
 

I know I can use Ctrl+ End. But I would like to know if there is a way to change the annoying behavior of scrolling over 50 lines.

+3


source to share


1 answer


There is an option that controls this, which is enabled by default, except on macOS where it is disabled by defaul:

// Set to false to disable scrolling past the end of the buffer.
// On OS X, this value is overridden in the platform specific settings, so
// you'll need to place this line in your user settings to override it.
"scroll_past_end": true,

      



You can select Preferences > Settings

from the menu and set for an option false

to disable this behavior.

+5


source







All Articles