Re: Escape character for .gitconfig
- From
- Dirk Süsserott <newsletter@dirk.my1.cc>
- Date
- Dec 20, 2011, 19:46 UTC
- Message-ID
- <4EF0E624.1090500@dirk.my1.cc>
- In-Reply-To
- <4EF04199.1010008@icefield.yk.ca>
Am 20.12.2011 09:04 schrieb Erik Blake:
Show 12 quoted lines
> Hi Dirk, > > I ended up using "'C:/Program Files (x86)/Notepad++/notepad++.exe' > -multiInst -notabbar -nosession -noPlugin" which works nicely for me > (note the placement of the inner quotations). > > It is notepad.exe (the default Windows editor) that fails on files with > only <lf> termination. That's why I was trying to set notepad++ as the > git editor as it is vastly superior. > > Cheers, > Erik
Hi Erik,
oops, I overread that you talked about notepad (not notepad++) and the <lf> stuff. My fault. I use the portable version of notepad++ and don't have the "space in path" problem. But if you mainly use the git-bash (as I do) instead of cmd.exe, then probably you could tweak your .bashrc:
export PATH="/C:/Program Files (x86)/Notepad++":$PATH
and then run notepad++ w/o giving the absolute path.
Cheers,
Dirk