the vim guide says : Code Listing 8.1: Setting vi as the default editor (Set EDITOR to your preferred editor.) #EDITOR="/bin/nano" EDITOR="/usr/bin/vim" #EDITOR="/usr/bin/emacs" bit there is no more EDITOR= setting in rc.conf, the official gentoo way to do this seems to be now : localhost supybot_fixes # eselect editor list Available targets for the EDITOR variable: [1] /bin/nano [2] /usr/bin/ex [3] /usr/bin/vi [ ] (free form) localhost supybot_fixes # eselect editor set 3 Setting EDITOR to /usr/bin/vi ... >>> Regenerating /etc/ld.so.cache... Run ". /etc/profile" to update the variable in your shell. Reproducible: Always Steps to Reproduce: 1.have a problem wit a fresh install trying to install xemacs as a dependecy of virtual/editor-0 2.try to setup your gentoo box to use vim as a default 3.read the vim guide and ask in #gentoo ;)
Thanks. I've changed the guide to show the eselect-way of doing things, but also how to set the EDITOR variable in a users' .bashrc file in case the user wants to do this for him, but not system-wide. Thanks for reporting!