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. > Do we want to change the priority? I meant not to confuse people if by > any chance they have both ~/.vimrc and ~/.vim/vimrc. No. I was initially concerned about this patch, but the priority you chose is perfect for my several Vim installations that share a common ~/.vim or ~/vimfiles. I already have a ~/.vim/vimrc file that I symlink to ~/.vim on Unix and source from ~/_vimrc on Windows. With your patch, I can keep these installations the same or eliminate the ~/.vimrc and ~/_vimrc files. For those installations where I want to customize my configuration, or experiment with my configuration before imposing it on all my other installations, I copy ~/.vim/vimrc to ~/.vimrc (or to ~/_vimrc on Windows) and modify the copy. Again, this works with or without your patch. If a user has both ~/.vim and ~/.vim/vimrc, ~/.vimrc should have priority. I can't think of a scenario where it would be advantageous to give priority to ~/.vim/vimrc. Regards, Gary -- -- 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.
