2014-02-12

Vim: Reloading a file

Reloading can be done with the ":edit" command, without specifying a file name. If you have made modifications to the file and you do not care about them (they will be lost), you can use
":edit!" to force the reload.

For further reading:

:help :edit
:help :edit!
:help 'confirm'

No comments:

Post a Comment