On Fri, Jun 20, 2014 at 12:09 PM, Linda A. Walsh <[email protected]> wrote:
> David Fishburn wrote: > >> >> >> is right next to it... but it's a short rebuild, fortunately. >> >> Late on the thread, but have you read this tip? >> >> http://vim.wikia.com/wiki/Have_Vim_check_automatically_ >> if_the_file_has_changed_externally >> >> Not sure if it will address your use case or not. >> > ---- > Most of that article is about suppressing excessive change events coming > in because they are interrupting one. Since the file it is monitoring is > output > only (from a make script), it can't interrupt me too often. It is a GUI > version, > so will try moving cursor (simply clicking in the window doesn't force a > reread if vim has recently updated). > Clicking in the window may work if you enable the CursorMoved and CursorMovedI events, though there are warnings about performance of those. :set updatetime? 4000 The CursorHold would be triggered every 4 seconds, you can always decrease that amount. Hitting the <Escape> key I believe will trigger this. Though it is a while since I messed with this stuff. David -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
