i emerged app-editors/gvim-7.0.17. But, it's throwing some error at startup. first it says ========================================================================== Error detected while processing /etc/vim/vimrc: line 87: E484: Can't open file /usr/share/vim/syntax/syntax.vim ========================================================================== ofcourse, there is no such file. adding export VIM=/usr/share/vim/vim70 to /etc/bash/bashrc makes this error go away, but, it starts throwing another set of error. ========================================================================== Error detected while processing /usr/share/vim/vim70/syntax/synload.vim: line 57: E580: :endif without :if: endif line 58: E193: :endfunction not inside a function Error detected while processing /usr/share/vim/vim70/ftplugin.vim: line 33: E580: :endif without :if: endif line 34: E193: :endfunction not inside a function ***netrw*** you need vim version 7.0 for this version of netrw Error detected while processing /usr/share/vim/vim70/plugin/spellfile.vim: line 15: E216: No such group or event: SpellFileMissing * call spellfile#LoadFile(expand('<amatch>')) Hit ENTER or type command to continue ========================================================================== I am filing it as a bug, since, this was a fresh install. emerge --info ========================================================================== Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.15 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://gentoo.mirrors.pair.com/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 7zip X a52 aac aim alsa amazon apache2 apm avi berkdb binary-drivers bitmap-fonts cairo cli crypt cups dbus dlloader dri dvd dvdr dvdread dvi eds emboss encode esd exif ffmpeg firefox foomaticdb fortran fortran95 gdbm gif gpm gstreamer gtk gtk2 hal imlib ipv6 irssi isdnlog jpeg libg++ libwww mad mikmod motif mozsvg mp3 mpeg musepack ncurses nls nptl nvidia ogg opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime rar rdesktop readline real reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xcomposite xine xinerama xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS ==========================================================================
running gvim does not throw any error, but, running vim does.
Reopen with exact versions of vim, gvim and vim-core.