2015-05-07 16:58 GMT+03:00 Nicola <[email protected]>: > In article <[email protected]>, > Christian Brabandt <[email protected]> wrote: > >> Hi Nicola! >> >> On Mo, 04 Mai 2015, Nicola wrote: >> >> > Hello, >> > my first post here, hope my question is not too trivial. Is there a way >> > to change the color for the one character at the crossing of a vertical >> > split bar and the bottom status lines? Schematically: >> >> I don't think this is possible. > > I have almost solved it. For some reason, a custom status line does not > influence that spot, but StatusLine and StatusLineNC do. Try this: > > vim -u NONE > set ls=2 > hi User1 ctermbg=1 > set stl=%1*%f%=%f%* > <C-w> v > > The character between the status lines should have a different color (if > not, change ctermbg to something else). Now try: > > hi StatusLine ctermfg=1 > hi StatusLineNC ctermfg=1 > > Now the character should be almost the same color as the status lines > (it may change slightly when switching between windows). > > I just have to figure out why, when I define StatusLine and StatusLineNC > with my custom status line (whose definition is a bit more complicated > than the above), a string of ^^^ starts to appear in the status lines.
Check out :h 'fillchars', specifically a note about the stl/stlnc suboption defaults. > May it depend on not resetting colors with %* (e.g., using %1*%f%2* > instead of %1%f%*%2*)? > > Nicola > > -- > -- > 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. -- -- 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.
