I don't like the cterm=reverse
used on the StatusLine. Without reverse
, I also don't care for bold
, so I ended up with hi StatusLine cterm=none
in my .vimrc
.
However, this lead the spaces caused by the %=
in my statusline to be displayed as ^
's, which is quite obnoxious.
Here's my statusline code:
if has('statusline')
if version >= 700
" Fancy status line.
set statusline =
set statusline+=%n "buffer number
set statusline+=%{'/'.bufnr('$')}\ "buffer count
set statusline+=%f%m\ "file name/modified flag
set statusline+=(%{strlen(&ft)?&ft:'none'}) "file type
set statusline+=%= "indent right
set statusline+=U+%04B\ "Unicode char under cursor
set statusline+=%-6.(%l/%{line('$')},%c%V%)\ %<%P "position
endif
endif
What's causing that to happen? And can I change it or do I have to settle for cterm=bold
?