assuming a file has been changed underneath vim, and I know about it,
how can I reopen that file replacing the current file's buffer contents?
I find Vim's usually pretty smart (though that might be gvim
capturing an ActivateWindow message, and console-vim might not
have the same smarts) about noticing when a file has changed.
If, however, it hasn't, you can use
:e
to re-read the file. If you've made changes to the current file,
you can use
:e!
to discard them and reload from disk. Alternatively, you can
write your changes elsewhere:
:w othername.txt
and then reload the original file with
:e
You can read all about it at
:help :e
if you like. :)
-tim