Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8078545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:49:42+00:00 2026-06-05T15:49:42+00:00

I tote the same .vimrc between machines that have both Vim 7.2 and 7.3

  • 0

I tote the same .vimrc between machines that have both Vim 7.2 and 7.3 installed. The machines with Vim 7.2 complain about my 7.3-specific options every time I open a file:

Error detected while processing /home/spiffytech/.vimrc:
line   72:
E518: Unknown option: rnu
line   73:
E518: Unknown option: undofile
line   74:
E518: Unknown option: undodir=/tmp
line   75:
E518: Unknown option: cryptmethod=blowfish
Press ENTER or type command to continue

How can I make Vim ignore these errors and not prompt me to hit enter whenever I open files?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:49:44+00:00Added an answer on June 5, 2026 at 3:49 pm

    Wrap the new options in:

    if version >= 703
      set rnu ...
    endif
    

    Check the help for v:version for more info on the version number to use:

                                            *v:version* *version-variable*
    v:version       Version number of Vim: Major version number times 100 plus
                    minor version number.  Version 5.0 is 500.  Version 5.1 (5.01)
                    is 501.  Read-only.  "version" also works, for backwards
                    compatibility.
                    Use |has()| to check if a certain patch was included, e.g.: >
                            if has("patch123")
    <               Note that patch numbers are specific to the version, thus both
                    version 5.0 and 5.1 may have a patch 123, but these are
                    completely different.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code that I am trying to copy a record with in
I have a list of dynamically generated divs that represent panels for selecting various
I have a GridView that gets a DataSource. Now on RowDataBound, I need to
I think thaAjaxControlToolkitTextBoxWrapperThis use to work, but I think that upgrading to te latest
I have Presenter and two Views ( View1, View2), and have a Constants object
I got a list of a Collection that has many attributes. Specifically 3 of
Is there a tool that would watch file changes in a directory tree of
This question is related to (but perhaps not quite the same as): Does Django
I have succesfully added localization to my website. Came next day and it does
I'm being doubtful for a long time about how to design parametric tables... Do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.