title: How can I set up an editor to work with Git on Windows?
body: <p>I'm trying out <strong>Git on Windows</strong>. I got to the point of trying "git commit" and I got this error:</p>
  
  <blockquote>
    <p>Terminal is dumb but no VISUAL nor
    EDITOR defined. Please supply the
    message using either -m or -F option.</p>
  </blockquote>
  
  <p>So I figured out I need to have an environment variable called EDITOR. No problem. I set it to point to Notepad. That worked, almost. The default commit message opens in Notepad. But Notepad doesn't support bare line feeds. I went out and got <a href="http://notepad-plus.sourceforge.net/uk/site.htm" rel="noreferrer">Notepad++</a>, but I can't figure out how to get Notepad++ set up as the <code>%EDITOR%</code> in such a way that it works with Git as expected.</p>
  
  <p>I'm not married to Notepad++. At this point I don't mind what editor I use. I just want to be able to <strong>type commit messages in an editor</strong> rather than the command line (with <code>-m</code>).</p>
  
  <p>Those of you using Git on Windows: What tool do you use to edit your commit messages, and what did you have to do to make it work?</p>