Vim by default looks for a vimrc file in $VIM, which is usually $prefix/usr/share/vim. The above patch fixes the ebuild so the vimrc from filesdir is copied here instead of /etc/skel patch follows: *************** *** 186,197 **** cd $D/usr/share/doc/$PF ln -s ../../vim/*/doc $P # Default .vimrc for users (this should be revisited) ! # insinto /etc/skel ! # newins $FILESDIR/vimrc .vimrc ! # this inserts the vimrc files where vim looks for it bye default, ! # and not as /etc/skel/.vimrc ! insinto /usr/share/vim ! newins $FILESDIR/vimrc vimrc # Don't install .vimrc for root since it might overwrite root's # current .vimrc, if it exists. #mkdir -p $D/root --- 186,193 ---- cd $D/usr/share/doc/$PF ln -s ../../vim/*/doc $P # Default .vimrc for users (this should be revisited) ! insinto /etc/skel ! newins $FILESDIR/vimrc .vimrc # Don't install .vimrc for root since it might overwrite root's # current .vimrc, if it exists. #mkdir -p $D/root
agriffis: evaluate this one and apply if you think it's needed.
I've added app-editors/vim/vim-6.0-r5.ebuild in response to this bug. Note the following: - The vimrc installed in /usr/share/vim is considerably stripped down, since I hate when distributions attempt to guess how users/administrators want applications configured. If a site administrator wants to change this for their own installation, that's fine, but I won't heavily customize the distribution-supplied vimrc. - I added a gvimrc as well, which is also intentionally spare. Thanks for the suggestion. I hope this solution meets your needs. Thanks, Aron