Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

18
  • 16
    For me :e randomnamejkdlfjldf fails to load the non-existent filename then reloads back to the current file :D Commented Mar 18, 2016 at 10:36
  • 1
    @sabgenton Thanks, I didn't know that. That's a great trick. I added it to my answer, but you could post it as an answer of your own (which I hope Zaid would accept). Commented Mar 18, 2016 at 16:14
  • 2
    @CMCDragonkai No, less +F only watches for appended content. Use :e nonexistentfile to re-read completely changed input. Commented Apr 19, 2016 at 11:08
  • 4
    @PaulWagland No, R doesn't reliably refresh the file. It refreshes the screen, and wipes some input buffers, but it doesn't actually reload data from the file in all circumstances (only if the file is large? I didn't dig deeply into the code). Commented Apr 20, 2017 at 9:53
  • 2
    I wish I could give you a +1 for every time I forget about this and find myself here again. :D Commented Jun 16, 2017 at 1:17