Forrest logo
back to the :set tool

vim:tldr:6ed31

vim: Display the line numbers.
$ :set nu
try on your machine

The command ":set nu" is a command used in Vim, a highly configurable text editor.

When you type this command and press enter, it enables line numbering in the Vim editor. The number of each line will appear on the left-hand side of the text editor window. This feature is particularly useful when you are working with large files or when you need to reference specific lines in your code or text.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the :set tool