Mangled display in vim on zoom level #21

Open
opened 2026-05-26 11:40:11 +02:00 by tux · 1 comment
Owner

When enlarging the display with CTRL + and editing a file with many lines in vim, navigating within the lines becomes impossible as only odd numbers are shown instead of the file content, see screenshot.

Zooming back to default does not solve the issue, it only displays more numbers on the right side then, see screenshot2.

When enlarging the display with CTRL + and editing a file with many lines in vim, navigating within the lines becomes impossible as only odd numbers are shown instead of the file content, see screenshot. Zooming back to default does not solve the issue, it only displays more numbers on the right side then, see screenshot2.
Author
Owner

EDIT: I realized what the numbers are, it's the indication in vim for the current line and character position, which is usually at the bottom right corner. At a higher zoom level the position gets messed up and can't be fixed by resetting the zoom. When zooming out instead in, the issue does not occur.

EDIT: I realized what the numbers are, it's the indication in vim for the current line and character position, which is usually at the bottom right corner. At a higher zoom level the position gets messed up and can't be fixed by resetting the zoom. When zooming out instead in, the issue does not occur.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tux/shellstation#21
No description provided.