On 2006-06-21, [EMAIL PROTECTED] wrote:
> Running Gentoo linux
> vim 7
> (~/.vimrc follows message; compile info follows ~/.vimrc)
>
> On a recent fresh install after setting up ~/ I'm finding that vim
> appears not to be slurping ~/.vimrc. When it starts I don't see my
> settings showing line number and percentage of file.
>
> Running `:so ~/.vimrc' sets things right but what might cause vim not to
> read it at startup.
> ~/.vimrc is symlinked to a cvs copy of .vimrc but if that were the
> problem then it seems running `:so ~/.vimrc' would show some kind of
> error but it doesn't. And anyway I've been having ~/.vimrc as a
> symlink for a very long time now.
You might try starting vim this way,
vim -V --noplugin
which will try to source your .vimrc but not all your plugins, so
the verbose output should be short and easy to read. The output
should say definitively whether your .vimrc could be sourced or not.
The output of :version, which you attached,
> system vimrc file: "/etc/vim/vimrc"
> user vimrc file: "$HOME/.vimrc"
> user exrc file: "$HOME/.exrc"
shows you where vim is looking for startup files. Also,
:help startup
will tell you what vim should be doing during startup and may give
you some ideas of other things to check. For example, executing
:echo $MYVIMRC
will tell you what, if any, initialization file vim sourced.
HTH,
Gary
--
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Wireless Division
| Spokane, Washington, USA