vim / vim

The official Vim repository
https://www.vim.org
Vim License
36.07k stars 5.39k forks source link

The scroll does not keep up the cursor on some situation. #1474

Open anliting opened 7 years ago

anliting commented 7 years ago

One of the ways to reproduce the problem:

  1. Open a terminal emulator with the width of 80 and the height of 24.
  2. $ vim -N -u NONE
  3. 22o<Esc>80ia<Esc>ggGA

screenshot_20170213_180938

brammool commented 7 years ago

I think what you are seeing here is intentional. When you type exactly the characters that fit, Vim won't scroll the display up until you type another character. It's not really a problem, right?

anliting commented 7 years ago

But it does scroll when I type exactly the characters that fit exactly before the LF.

screenshot_20170215_193050

screenshot_20170215_192915