Saturday, April 7, 2012

RE: Question about WatchForChanges

Leo wrote:
> I have the following setup.
> I'm editing a file in vim and have multiple windows open
> I have a shell script that I run from another window, which
> externally modifies the file while it's still open with vim.

I don't think you said what you _want_ to happen.

Say you use Vim to edit file my.txt and while that file is open,
another process changes the file.

Then you switch back to Vim and try to save my.txt.

What do you want it to do? Overwrite the changes made by the
other process (those changes would be lost)?

Presumably you don't hope that Vim would merge changes made
while editing with the changes made by the other process?

John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: