Home  >  Q&A  >  body text

vim file refresh

I have a file that I opened with vim first, and then opened it with UE. I made changes in UE,
If you want to know if there is a corresponding command in vim, you can refresh the open document to the latest content.
Another: What does the :r command in vim mean?
Thanks!

滿天的星座滿天的星座2711 days ago742

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 16:45:00

    :e!

    r means read, reading the contents of another file and inserting it into the current position. Details :help read

    reply
    0
  • Cancelreply