I am using git within Cygwin 64 under windows. The default editor vi and git uses the default editor. When I call 'git commit' following messages will be prompted before vim is started:
git commit
Vim warning: output is not to a terminal
Vim warning: input is not from a terminal
After that, vi will started but can't be controlled, 'ESC', ':' can't be used and I have to kill the cygwin window.
How can I use vim for the 'git commit'?


git config core.editor notepadD:/..TERM=xterm git commit