Guides 11791 Published by

Vitux published a tutorial about how to show or hide line numbers in Vim.



How to Show or Hide Line Numbers in Vim

Vim is a powerful and highly configurable command line editor that comes installed with most Linux operating systems. It offers many useful features for editing and configuration of files. However, some of its useful features are disabled by default. One of them is line numbering. With Vim line numbering features, you can display line numbering at the beginning of each line which comes helpful when modifying the text. Line numbers are also useful in debugging scripts, code reviews, and configuration files. By default, line numbering is disabled.



How to Show or Hide Line Numbers in Vim