I recently encountered a visual bug (not related to visual mode) in Vim. When we have a contiguous list of underscores (_) or minuses (-) typed, and we try to traverse the characters with the cursor, its either expanding when we go from right to left or contracting from left to right, which feels like a more visual illusion. Simply put, the problem is that the typed minuses extend beyond the cursor when its at the right end of the actual contiguous list.
I am attaching a video related to the issue that may help you understand what I mean. I was going to raise it as an issue on GitHub, but the instructions directed me to email the maintainers first.
In the video, I type minuses (-) from 00:00 to 00:32. You can clearly see the extra minuses appearing to the right of the cursor starting at 00:12. When I traverse left from 00:32 to 00:43, the list is expanding, whereas in the remaining part of the video, you can see it contracting.
I don't think this is because of the font I am using, because I have not encountered a similar problem elsewhere. However, I may try a different font if advised.
There should be no expansion or contraction of the long list when traversed using the left or right keys through the list. The cursor, when its at the right end of the list, should have exactly the letters that are typed after the list, that is no extra list elements should be present when the cursor is at the right end of the list.
VIM - Vi IMproved 9.2 (2026 Feb 14, compiled Sep 18 2026 00:00:00) Included patches: 1-1119
Terminal: Fedora Linux 44 (KDE Plasma Desktop Edition) x86_64
Terminal: konsole 26.8.1
Terminal Font: Noto Sans Mono (14pt)
Shell: bash 5.3.9
https://github.com/user-attachments/assets/29327fbf-9aa5-4504-9ea3-b0c7af42c130
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
I can't reproduce it in debian 13, konsole 25.04.2 and vim 9.2.1125
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
I tried 1 and 2 and still got the same results. Didn't try out no. 3 because you used the same terminal emulator (konsole) and could'nt reproduce, and for no. 4, I want to stick to the CLI.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
I'm able to reproduce this with Konsole 26.08.1. It doesn't happen if I downgrade to Konsole 26.04.3.
Meanwhile in Konsole 26.08.1 the same also happens when typing many minuses anywhere else:
Image: Image (view on web)
So I think this is a Konsole bug.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()