On 6/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
"Yakov Lerner" <[EMAIL PROTECTED]> writes:
>> What on earth is that all about. It doesn't appear to ever look for
>> ~/.vimrc.
>
> I suggest that you build vim from sources.
Ok, I tried that and I must say the new vim download pages are nice
and the new aap tool does the work.
However once I've run `aap install' and get a new vim in /usr/local/bin
then start it up I get exactly the same behavior as before.
1. Check your env. var. $VIMINIT.
If VIMINIT is set, vim will skip ~/.vimrc
2.
Now that you have vim source, you can do this check:
a. cd vim7/src. Add the printf-getchar line as in patch below, to main.c
b. make (don';t do make install)
c. run ./vim
d. Do you get this message that I get when you run './vim' ?
before sourcing .vimrc($HOME/.vimrc). Press Enter.
Yakov
patch to src/main.c
--- main.c.000
+++ main.c
@@ -2624,6 +2624,7 @@
*/
if (process_env((char_u *)"VIMINIT", TRUE) != OK)
{
+printf("before sourcing .vimrc(%s). Press Enter.\n", USR_VIMRC_FILE);
getchar();
if (do_source((char_u *)USR_VIMRC_FILE, TRUE, DOSO_VIMRC) == FAIL
#ifdef USR_VIMRC_FILE2
&& do_source((char_u *)USR_VIMRC_FILE2, TRUE,
Yakov