On 2011-07-14, Linda W wrote:
> I've been trying to add the following -- and added to about 3 separate 
> places
> and non have work:
> 
> set fileencodings+=utf-16le

[...]

> Anyway, with the changes in all 3 places, starting GVIM
> still has file encodings set to the default:
> 
> fileencodings=ucs-bom,utf-8,default,latin1
> 
> So What am I doing wrong?
> 
> I'm pretty sure gvim reads .vimrc before .gvimrc, as I only
> put my vim changes in .vimrc, unless they are gui-specific (like
> a gui font)...and they seem to always get picked up... but it
> isn't picking up this change!  It's like this change is being ignored.

I can't answer the 'fileencodings' question, but the name of the
personal vimrc and gvimrc files that Vim actually used should be in
$MYVIMRC and $MYGVIMRC, respectively.  You can also check the output
of :scriptnames to see which files Vim has actually sourced.  You
might also execute

    :verbose set fileencodings?

to see where 'fileencodings' was last set and to see if your setting
may have been overridden.

To see what order Vim reads its configuration files, see

    :help startup

Regards,
Gary

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to