If you are experiencing this messages:

cygwin Warning: Input is not from a terminal
cygwin Warning: Output is not from a terminal

Using GIT or just vim only, here’s a couple of things you can try:

If you get those errors using vim only maybe you want to try bash instead mintty. This is usually the default value in cygwin’s shortcut properties:

C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -

Change it for:

C:\cygwin\bin\bash.exe --login -i

If you experience the problem when using GIT and there’s a warning about vim then just open a terminal and execute this:

git config --global core.editor "C:/cygwin/bin/vim.exe"

Be careful with paths if you’re using the 32 or 64 version:

C:/cygwin/bin/vim.exe
C:/cygwin64/bin/vim.exe

That’s it, enjoy vim 🙂