vi(m) raises error opon start, that it cannot open file syntax.vim

Solution Verified - Updated -

Issue

When starting vi(m) on the command line the following can be seen:

# vim
Error detected while processing /etc/vimrc:
line   45:E484: Can't open file /usr/share/vim/vim70/syntax/syntax.vim

Environment

  • Red Hat Enterprise Linux (RHEL) 5, 6, 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content