33796Re: Config Vim not to change directory timestamp
- Oct 4 8:12 AM--- Bram Moolenaar <Bram@...> wrote:
>The problem is Vim still causes directory timestamp to
> Roboco Sanchez wrote:
> > It shouldn't matter what OS you're using. You're
> > changing content of a file not a directory. I've
> > come across any OS that changes directory
> > when content of an existing file is changed.
> > So do you agree with me that when an existing file
> > edited using Vim the directory timestamp shouldn't
> > change? If so would you be able to configure it,
> > without having to sacrifice swap file and backup
> > (e.g., creat them somewhere else like /tmp)?
> When you use a backup file in the same directory
> then Vim will create a
> new file, thus the directory will change. If you
> tell Vim not to use a
> backup file, or put it somewhere else, Vim will
> overwrite the file and
> the directory probably won't be changed. Same goes
> for the swap file.
change even though you tell it to write backup file
and swap file somewhere else. And that's why I came
>Some people don't care about directory timestamp. But
> I don't know what is so important about not changing
> the directory
> though. I prefer to keep the backup and swap file
> together with the
> original file.
some people do. Some people prefer backup and swap
file together with the original file. But some people
don't. It would be a long story to debate the
important of directory timestamp with those who don't
care about it.
> From "know your smileys":
> (X0||) Double hamburger with lettuce and tomato
> /// Bram Moolenaar -- Bram@... --
> http://www.Moolenaar.net \\\
> /// Creator of Vim - Vi IMproved --
> http://www.Vim.org \\\
> \\\ Project leader for A-A-P --
> http://www.A-A-P.org ///
> \\\ Help AIDS victims, buy here:
> http://ICCF-Holland.org/click1.html ///
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
- << Previous post in topic Next post in topic >>