John Trammell wrote:
Not a vim guru here, but try the output of ":echo $MYVIMRC". <http://www.vim.org/maillist.php>
----
Windows:
   /Users/linda w.BLISS> echo $MYVIMRC
Linux:
   Ishtar:linda w> echo $MYVIMRC

---------------------------------

Ben Fritz wrote:
I don't think any of the .Bliss stuff is needed. But it's easy to
figure out where Vim things it should look for your .vimrc. Go into
Vim, and run command,

   :echo $HOME
/Users/linda w.BLISS> echo $HOME
//Bliss/linda w



Ben Fritz wrote:
  :verbose set fileencodings?
----
   BINGO!

   !)$(!)$*(%&!(&#(
   _vimrc !!!

   Why is it ignoring my .vimrc for a _vimrc
on an NTFS win7 system?  Oh...nevermind...
I just deleted the _vimrc, and now it picks up .vimrc...
(Lame!)

  fileencodings=ucs-bom,utf-8,default,latin1,utf-16le

This will have no effect. As it will tell you in the :help, 8-bit
----
Perfect sense....hadn't gotten that far yet, since it I wasn't even getting the setting
to set properly...


  fileencodings=ucs-bom,utf-16le,utf-8,default,latin1
----
   That does it!...thanks!...
You can always leave fileencodings as-is, and use :e ++enc=utf-16le to
work around the problem without messing with options.
---
   Didn't know about that one...and now, probably won't remember it cuz I
won't need it for a real long time (until I run into some other weird format), and by then...I'll ...well maybe I'll remember it.... :-).... (but I wouldn't promise!)


Charles Campbell wrote:
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. [snip]
---
   Yeah, um those didn't work so well...

As to where your .vimrc is read, Gary J has provided good answers. You should do something like
  :echo $MYVIMRC
from within vim to access these variables -- your environment (o/s) probably doesn't know about them.
=====
   ^^^^^ AH HA!...yep!..., I saw $  shell...   thanks for being clear!
I need to know which $MYVIMRC you are talking about!... ;-)

:echo $HOME
i:\
----
Interesting, I have HOME, in my cygwin BASH,
but not in a raw cmd (one not spawned/run from BASH).
There, I only have:
HOMEDRIVE=i:
HOMEPATH=\
HOMESHARE=\\BLISS\linda w

Note, that "i:" is 'map'd to  \\Bliss\linda w

So it sorta all ties together...but HOME is 'synthetic' on windows.

Cygwin has it closest to 'right', since if I didn't have drive 'i' mapped
to \\Bliss\linda w, I'm not sure where Vim would get HOME...

I suppose I could try it....
>:->

(That might be why I ended up with a _vimrc in the first place, is I didn't have
a home-drive mapped to my home-dir)

Thanks to all who responded!

Very appreciated!


--
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