Re: Vista - Gvim 7.2 - gvim forcing read only _vimrc and not picking changes made in external editor

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Vista - Gvim 7.2 - gvim forcing read only _vimrc and not picking changes made in external editor

Gary Johnson-4

On 2009-03-06, Edmon wrote:
> I am running Gvim 7.2 on Vista.
>
> I want to modify startup settings and fonts and for some reason
> _vimrc is being opened in read only mode, and I cannot get to open
> it other way.

How are you opening it?  What is the full path to the _vimrc you are
opening?

> When I make changes to the file from the other editor these
> changes do not get recognized by gvim.

What other editor?

There are a number of places gvim looks for _vimrc.  See

    :help _vimrc

To see which _vimrc gvim actually read when it started, execute
this:

    :echo $MYVIMRC

> It looks like Gvim keeps opening as read-only some other, internal
> _vimrc file. (maybe some swap file gets created but I cannot find
> it anywhere on Vista).

The above should help you determine whether you're editing the
same _vimrc that gvim is reading.  Are you saving the _vimrc after
you edit it?  Even if gvim opened it read-only, you should be able
to save the file using, for example,

    :w!

Swap files should have nothing to do with this issue.

Also, this question is not a development question, it is a usage
question and should be discussed on the vim_use list, so I'm cc'ing
that list.

HTH,
Gary



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---