I have recently installed VIM 7.0 on my computer which
has Windows Vista and
every time I try to edit a text file with VIM it opens
a blank file with the
following message on the bottom of the screen:
"-C" [New File]

The "-C" as a file-name looks like some option to [g]vim.exe is getting interpreted as a filename rather than as a parameter. But the -C asks for Vim to use Compatible settings, which is a bit like asking for a horse-drawn carriage when you have an automobile at your disposal. Conceivable, but you usually know what you're asking for, and take the effort to request it explicitly.

This looks like a problem with how Vim is being launched. If you use Start -> Run and type in "C:\Program Files\Vim\Vim70\gvim.exe" (or whatever the path to gvim is), does it open correctly/uneventfully? How about if you use "C:\Program Files\Vim\Vim70\gvim.exe c:\path\to\file.txt"?

I don't know how you're currently launching vim, so details on that would help. Are you using the context-menu with "Open with Vim" (or one of its variants)? Are you running Vim off the Start Menu? Is it set as the default application for opening programs of type X? Are you clicking a shortcut to Vim on your desktop?

With the answers to some of the above questions, and the results of your above testing, it might help track down the problem.

-tim




Reply via email to