On 14/04/13 23:25, Gary Johnson wrote:
On 2013-04-14, Lech Lorens wrote:
On 13-Apr-2013 Bram Moolenaar wrote:
Thanks.  Thus only when ~/.vimrc does not exist then ~/.vim/vimrc will
be used.  That should work for places where a new Vim is installed.  For
older Vim versions one would have to create a ~/.vimrc file that sources
~/.vim/vimrc.

I don't understand.  If you have an older Vim version, the user is
already using ~/.vimrc and that Vim will never look for
~/.vim/vimrc.
[...]

Precisely. If you want to keep your vimrc under ~/.vim/ (unix) or ~/vimfiles/ (Windows) and use it even with older versions of Vim, you will need to source it from a vimrc placed at the usual place. Note that Unix Vim wil search for ~/_vimrc if it doesn't find ~/.vimrc, and Windows Vim will search for ~/.vimrc and $VIM/_vimrc (and maybe even $VIM/.vimrc) if it doesn't find ~/_vimrc. This is your "user" vimrc, it is searched for after the "system" vimrc, which has neither . nor _ in its name, and is by default at $VIM/vimrc, but often at /etc/vimrc in versions of Vim shipped with Linux distributions.


Best regards,
Tony.
--
You will be attacked by a beast who has the body of a wolf, the tail of
a lion, and the face of Donald Duck.

--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui