djoshea / vim-autoread

Have Vim automatically reload a file that has changed externally
102 stars 8 forks source link

Make clear what trigger the update #3

Open MartinDelille opened 5 years ago

MartinDelille commented 5 years ago

I use your plugin and I don't understand exactly what does effectively trigger the refresh:

Currently I have to move in the file (ie: with the key j) to see the update.

adriano-pinaffo commented 4 years ago

As mentioned here, you can add call feedkeys("lh") to trigger a cursor move, thus updating the file.