Monday, May 6, 2013

Re: can't use vimrc

在 2013年5月7日星期二UTC+8上午10时09分51秒,MarcWeber写道:
> Excerpts from skyworld's message of Tue May 07 04:02:00 +0200 2013:
>
> > Hi experts,
>
> >
>
> > my system administrator has changed original gvim path from
>
> > /usr/bin/gvim to /grid/common/bin/gvim. In this case, I found I can't
>
> > load my setup file which locates at ~/.vimrc.
>
>
>
> the location of the :h VIMRUNTIME files should not change behaviour of
>
> your ~/.vimrc (which should be sourced always). Check which gvim/vim is
>
> actually beeing used, maybe its nvi, not vim.
>
> "type gvim" in bash should tell you whether gvim is a path (the one you
>
> want), an alias or a function.
>
>
>
> Marc Weber

Hi Marc,

thanks for your kind reply. I checked my path and found both are "real", not path. And I found /usr/bin/gvim is version 7.0 while /grid/common/bin/gvim is version 7.1. I guess maybe gvim 7.1 also load my .vimrc, but because they are different versions, so there is some difference when they show text on display, for example, they show different font. Does I understand this right? thanks.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: