> is there any way to reload or refresh a file I'm currently working on?

Just use

   :e

to reload the file.  I believe, if you've made changes to the 
file, it requires you to do

   :e!

to force-discard your local changes and reload from the disk.

If I'm not sure, I'll often yank my current copy into a scratch 
buffer/window, force-reload the file from disk, and then use

   :diffthis

on each of the two buffers/windows to verify that there are no 
surprises.

You may also be interested in the 'autoread' setting.

More information at

   :help FileChangedShell
   :help 'autoread'
   :help :e
   :help :diffthis

-tim




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to