Skip to content

Centering the screen is slightly wrong when there are long lines #14

@nullromo

Description

@nullromo

To reproduce

  1. Create a file that has a really long line in it, or resize the window such that the line takes up 10-12 lines.
  2. Put the cursor just below the long overflowing line.
  3. zz, and notice that the current line is not centered.
  4. :normal! zz<CR> and notice that it behaves differently from zz.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions