I would like to change the appearance of the vertical split division, which currently uses |
. Is there a Vim setting, or can it be modified in the source code? Please give me some tips.
That settings is managed by the fillchars
setting. To modify it to use a different character than |
, use
" Set the vertical split character to +
:set fillchars+=vert:\+
" Set the vertical split character to a space (there is a single space after '\ ')
:set fillchars+=vert:\
A single whitespace character for the vertical fillchar will make it so that your colorscheme's vertical split color is all you see.
The width of the split line is dependent upon the current font size. It is one character width of the current fixed-width font.
Read the documentation on fillchars
with
:help fillchars
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With