How to make vim display the number of characters selected in VISUAL mode?
PHPz
PHPz 2017-05-16 16:38:02
0
1
763

This is my status bar settings:

set statusline=%{&ff}\|%{&fenc!=''?&fenc:&enc}\|%y\|c:%v\,r:%l\ of\ %L\|%f

The display effect is

unix|utf-8|PERL|c:1,r:1 of 63|256.pl

I hope to add a display item to display the number of characters contained in VISUAL mode

PHPz
PHPz

学习是最好的投资!

reply all(1)
滿天的星座

Write a function to calculate it yourself.

PS: g Ctrl-g can check the number of selected characters.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template