by the way gentoo has this handy tool called portage that does all the work for you (compiling wise), emerge vim will install vim, like apt, but will take slightly longer and will be better tailored for your system