I can run Vim from the Start -> Run menu and also by
using the context menu
and selecting 'Edit with Vim'.  In both cases Vim
starts up with the -C file
created.

Please help me with any suggestions you may have.

Regards,

Al


-----Original Message-----
From: Tim Chase [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 19:38
To: Alnoor Verjee
Cc: vim@vim.org
Subject: Re: Problem editing files in VIM

> 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







 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

Reply via email to