FG
💻 Software

How to display the line number in Vim?

Fresh7 days ago
Mar 15, 20265753 views
Confidence Score0%
0%

Problem

I'm using the Vim text editor on a Windows-based machine. How can I show the line numbers? Provided that I'm not using it in the console?

Error Output

GVIM

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to display the line number in Vim?

Low Risk

Run to add a left margin with the line numbers. Use to see help on the topic, including changing the margin size. For some permanence, place the command, without the leading colon, in on UNIX/Linux based systems or in .

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment