Hello All,
I've been trying to master my statusline customizations, and I've hit a wall in the application of colors to the statusline.
The documentation suggests to use the User1 to User9 highlight groups. Quoting from ":h 'statusline'":
> * - Set highlight group to User{N}, where {N} is taken from the
> minwid field, e.g. %1*. Restore normal highlight with %* or %0*.
> The difference between User{N} and StatusLine will be applied
> to StatusLineNC for the statusline of non-current windows.
> The number N must be between 1 and 9. See |hl-User1..9|
This just seems cryptic to me. When I define User1 with the ":highlight" command, I would expect Vim to automatically adjust my highlighting to indicate an inactive window (based on the statements above). However, in Vim 7.4, the highlighting is the same for all windows. I use GVim 8 at work, and the colors appear to adjust, but I'm just not sure that I'm even using the feature correctly.
Should I expect automatic adjustment of my User1 color in the statusline (using the "%*1" format spec)?
I'm tremendously confused about this feature and would love nothing more than to feel once-again in control of my statusline!!!
Thanks to all!
Jason
--
--
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.
Tuesday, May 9, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment