Monday, January 15, 2018

timer / job / window / tab

Hi,
I am creating a timer that starts a job at a regular interval.
When the job is finished I update a variable with some of the job output with a ch_read().
I would like to update the statusline with this variable, but that means each vim process and also each tab / window have their own 'stream' of these timers and variables.
Can I start a timer for each BufReadPost,BufNewFile,FileReadPost ?
And then have a w: or t: variable for reading from each channel ?
Anyone done anything similar that has suggestions ?
thx

--
--
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:

Post a Comment