vim - refresh changed content of file opened

You can use the :edit command, without specifying a file name, to

reload the current file. If you have made modifications to the file,

you can use :edit! to force the reload of the current file if you

don't need your modifications).



The command :edit can be abbreviated by :e. The force-edit can thus be

done by :e!

Comments

Popular posts from this blog