1

Enter moves the cursor without scrolling the screen until the cursor is close to the bottom of the window.

Then data scrolls up such that the cursor never gets to the bottom.

Can this bottom scrolling be automatically stopped via a set command?

2
  • Creating a vimrc should also prevent this. If a vimrc is present, defaults.vim (which contains :set scrolloff=5) will not be sourced. Commented Feb 18 at 21:40
  • Do you still have something open in your question? How can we help you better? Otherwise maybe could you accept one of the solution using the v button next to the arrow voting buttons? It allow the question to rest :-) Commented Feb 19 at 19:29

1 Answer 1

1

You can control the number lines using the scrolloff option:

set scrolloff=0 

More information with `:help 'scrolloff'

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.