💻 Software
How to count the number of characters on each line in vim?
Fresh5 days ago
Mar 15, 20268265 viewsConfidence Score0%
0%
Problem
In vim, how can I count the number of characters on each line? For example, if I open a file with above text, I want to see counts like below
Error Output
how to count number of characters?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to count the number of characters on each line in vim?
Low Risk
Another way: UPDATE: Even shorter (every keystroke counts!): since I just now noticed that length defaults to entire line.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix