Whenever I scroll a file all the way to the bottom of a text file, it will scroll far beyond the last line, and I end up with a blank screen.
Then, to view the last lines of text, I have to scroll a little bit up, and in huge log files it usually gets scrolled too much.
I'll give 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 what I would like to know, is if there a way to change the annoying behavior of scrolling 50+ lines too much.
There is a setting that controls this, which defaults to being turned on 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 the setting to false
to disable this behaviour.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With