Lightweight single-character scrollbar. Emulates the behavior of the %P
statusline field.
Charbar is intended to be used with 'statusline'
/'rulerformat'
:
let g:charbar_bar_style = 'braille'
let &statusline = '... %{charbar#Char()} ...'
The character that's displayed can be customized by setting
g:charbar_bar_style
and g:charbar_arrow_style
.
Name | Characters |
---|---|
line |
‾ ⎺ ⎻ ― — ⎼ ⎽ _ |
braille |
⠁ ⠉ ⠋ ⠛ ⠟ ⠿ ⡿ ⣿ |
block |
█ ▇ ▆ ▅ ▄ ▃ ▂ ▁ |
Name | Characters |
---|---|
arrow |
↑ ↓ |
triangle |
▴ ▾ |