Friday, June 13, 2014

Re: way to force vim to do a read (already in 'autoread')

Does a non-vim solution work for you?

$ tail -f /tmp/out

On Sat, Jun 14, 2014 at 3:25 AM, Linda A. Walsh <vim@tlinx.org> wrote:
> I have a vim client up and looking at "/tmp/out" and have it said to
> autoread the file
> as it is the output log of a 'make'.
>
> Sometimes, however, vim won't update and I have to do a ":e<CR>" in the
> command line to get vim to update and show me the new error file.
>
> I was creating a script to auto compile files as I saved them -- and that
> seems to work.
>
> But vim either takes it's time updating Or misses a file update notification
> --
> either way, have to do a manual 'e' in the vim window.
>
> Is there a signal I can send to vim to do the same? That way my script,
> besides noticing the changes could recompile AND tell vim to
> refresh its view of the file.
>
>
> Thanks!
>
> Linda
>
>
> --
> --
> 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 vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Kartik
http://k4rtik.wordpress.com/

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: