FG
💻 Software

How to show the current column in the statusbar in vim?

Fresh6 days ago
Mar 15, 2026237661 views
Confidence Score1%
1%

Problem

I would like to show the current column in the statusbar, as is common in many other text editors. E.g. it's good to know if you are around column 80 or above. How to show the current column in the statusbar?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to show the current column in the statusbar in vim?

Low Risk

Try if setting 'ruler' option is what you are looking for. On my computer at the bottom right shows the line and column where I have the cursor. EDIT TO COMMENTS: From the help of vim (command ): If the number of characters displayed is different from the number of bytes in the text (e.g., for a TAB or a multi-byte character), both the text column (byte number) and the screen column are shown, separated with a dash. You can try changing it with option, like

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment