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 3486236
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:00:17+00:00 2026-05-18T11:00:17+00:00

Is it possible to setup Vim so that it will only show: WARNING: The

  • 0

Is it possible to setup Vim so that it will only show:

WARNING: The file has been changed since reading it!!!

If the file is actually different, not just when the timestamp changes?

For example, I’ll quite frequently background Vim (^Z), roll back to an older version of a file (eg, to run the test suite against it), revert back to the current version and fg Vim again… But I still get the “file has changed” warning because, even though the content is identical, the timestamp has changed.

  • 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-05-18T11:00:18+00:00Added an answer on May 18, 2026 at 11:00 am

    If you try on vim 7.3

    :help timestamp

    It is said that
    When Vim notices the timestamp of a file has changed, and the file is being
    edited in a buffer but has not changed, Vim checks if the contents of the file
    is equal. This is done by reading the file again (into a hidden buffer, which
    is immediately deleted again) and comparing the text. If the text is equal,
    you will get no warning.

    So I guess that in your case, something has changed other than the file timestamp ( or there is a bug in Vim).

    In my case, I often get that message when I check out files : they change from “read only” to “read write” even if their content has not changed.

    So I guess that if the properties of a file are affected, it is considered “changed” even if the content is the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to setup deployment script so that vendors would only update if
Possible Duplicate: What are the specific differences between .msi and setup.exe file? I am
Is it possible to set up a cron job that will execute a php
I was wondering if it is possible to set up an app that will
Is it possible to setup HSQLDB in a way, so that the files with
Is it possible to setup VisualHg such that i'm automatically presented with a commit
Is it possible to setup Eclipse so that, when I am switched between working
Is it possible to setup a view in Database A that references a table
In my Vim setup I'd like to add a configuration that runs a shell
Is it possible to setup visual studio so that i can go to definition

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.