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

Re: git color in commit editor

From
Thomas Rast <trast@student.ethz.ch>
Date
Jan 6, 2011, 10:06 UTC
Message-ID
<201101061106.50636.trast@student.ethz.ch>
In-Reply-To
<AANLkTimMZaSW4ZUS60Vo38vyuq-PPqPhGdCVZjFzF2Gs@mail.gmail.com>
Pavan Savoy wrote:
Show 6 quoted lines
> On another machine with same vim version and same gitconfig and pretty
> much all the same settings except that the
> git version is git version 1.6.3.3, I don't have color in the commit editor...
> 
> Moving to newer GIT versions didn't help either...
> What am I missing?

That's squarely in vim's domain, git does not (and cannot) impose any colors on the editor. So you need to configure vim on the second machine for the highlighting.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Pavan SavoyNext: Matthijs Kooijman
Message 2 of 6 in “git color in commit editor”
  1. Pavan SavoyJan 6, 2011
  2. Thomas RastJan 6, 2011
  3. Matthijs KooijmanJan 6, 2011
  4. Ævar Arnfjörð BjarmasonJan 6, 2011
  5. Pavan SavoyJan 9, 2011
  6. Jonathan NiederJan 9, 2011

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.