Send by LINE
B! Bookmarks in Hate-bu
Bookmarks in Pocket
RSS feeds

Linux vim: Show/Hide the number of lines

Other language site
No available translations found
Google Translate
programing image

Set display / non-display of line number in vim command mode.

The command mode is an operation that can be entered at the lower left of the editor by pressing the Esc key and pressing the colon ':' when opening with vim.

Use the set command.

Display the number of lines

:set number

Let's actually see.

Currently, the number of lines is hidden.

Displays the number of lines.

The number of lines was displayed.

Hide the number of lines

:set nonumber

Let's actually see.

It is the continuation of the previous time.

It hides it where the number of lines is displayed.

The number of lines has been hidden.



Leave a Reply