git/list[1] front-page[2] threads[3] people[4] search[5] about
 

windows 10 git 2.9.0 with vim 7.4.1023 display editing bug

From
JZJesse Zhuang <zhzexi@gmail.com>
Date
Jul 12, 2016, 22:44 UTC
Message-ID
<loom.20160713T004406-291@post.gmane.org>

I am using git 2.9.0.windows.1 in windows 10. With core.editor set to vim.

Vim was downloaded from vim.org latest version binary: VIM - Vi IMproved 7.4.1023 (2013 Aug 10, compiled Jan 2 2016 14:24:35) MS-Windows 32-bit console version

When I do a git commit in a cmd window, it goes into a vim right in the command window.

But the display is incorrect, please check the first image in this album http://imgur.com/a/VSfuj​ with title "git2.9.0-vim7.4.1023-1".

Notice that

1, the scroll bar on the right is way too long than it should be. 2, after I pressed i to insert and inserted "test", notice how the four letters were kind positioned as a falling ladder. the behaviors of using hjkl keys to navigate the file is also incorrect.

The album also contains some other images with git versions spanning 2.7.0, 2.8.0, 2.9.0. Just for your reference, there was an issue with text color incorrect with versions 2.7 and 2.8. The display issue was probably present in those earlier versions too but I am not 100% sure because of the black text on black screen issue. I want to focus on the bug with version 2.9.0.

Starting vim up from the command line is totally fine. If I use "git bash here", vim behaves totally fine.

Thanks in advance for everyone who will look into this bug.
Jesse

Jesse Zhuang http://jessezhuang.github.io

Message 1 of 1 in “windows 10 git 2.9.0 with vim 7.4.1023 display editing bug”
  1. Jesse ZhuangJul 12, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.