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

Re: [ANNOUNCE] Git for Windows 2.15.1

From
IDIgor Djordjevic <igor.d.djordjevic@gmail.com>
Date
Nov 30, 2017, 00:06 UTC
Message-ID
<af169d17-708e-5ec0-53ee-b85df76e67c2@gmail.com>
In-Reply-To
<20171129135723.11664-1-johannes.schindelin@gmx.de>
Hi Johannes,
On 29/11/2017 14:57, Johannes Schindelin wrote:
> 
>   * It is now possible to configure nano or Notepad++ as Git's
>     default editor instead of vim.

This seems as a really nice option, as it could\should greatly help Windows people in lowering friction in first encounter with Git (for Windows).

Being pretty unfamiliar with Linux and its tools at the time, I remember the initial frustration in trying to do what otherwise felt as a no-brain, simple and trivial task - write the damn commit message after `git commit`, lol. Even had to kill the bash window a few times, not knowing what to do, where it was clear it was expecting something from me :$

I later learned about vim, like getting started with Git wasn`t hard enough... :) As soon as I found it being a possibility, I`ve set Notepad++ as my default editor.

That said, what is the Notepad++ as default editor option doing, just setting:

[core]
	editor = 'F:/Install/Notepad++/notepad++.exe' -multiInst -notabbar -nosession

... inside users` .gitconfig (`git config --global`)? Asking because I already had it there, and seems the option made no difference, so I`m not sure if it actually worked.

Otherwise, I guess I can dig the answer up from the installer code as well... :)

Thanks for yet another Git for Windows release.
Regards, Buga

p.s. Ok, It seems it actually went to `git config --system` instead, like:

[core]
	editor = 'F:\\Install\\Notepad++\\notepad++.exe' -multiInst -notabbar -nosession -noPlugin

I removed my original (user) configuration, and it still works (minus plugins, due to that last parameter), so all good :)

Plugins do come in handy for me, though, like spell-check when writing commit messages, so I`ll just stick with my option for now.

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 5 in “[ANNOUNCE] Git for Windows 2.15.1”
  1. Johannes SchindelinNov 29, 2017
  2. Igor DjordjevicNov 30, 2017
  3. Johannes SchindelinNov 30, 2017
  4. [ANNOUNCE] Git for Windows 2.15.1(2), was Re:Git for Windows 2.15.1Johannes Schindelin, Nov 30, 2017
  5. stefan.naewe@atlas-elektronik.comNov 30, 2017

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.