Friday, May 13, 2016

Re: When is a window's statusline updated?

2016-05-13 16:01 GMT+03:00 <boss@airbladesoftware.com>:
> Hello!
>
> I have read the statusline help docs but I wasn't able to find any mention of how often a window's statusline is updated, especially when several windows are open in splits.
>
> I'd be most grateful if somebody could enlighten me.

I guess the answer is buried in the source code only. I know that

a) Current window's statusline is updated on

1. typing something
2. changing mode
3. changing some options, but I can't give you a list
4. running :redrawstatus
5. …

b) All windows' status lines are updated on

1. changing windows (though not sure, maybe only two of them are updated)
2. resizing windows (again not sure, but windows' whose sizes change
will have it updated)
3. running :redrawstatus! and :redraw[!]
4. …

>
> Many thanks!
>
> Andrew Stewart
>
> --
> --
> 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.

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