Edit files
:set number Displays the number of rows
:set nu abbreviation
:set nu! No row count is displayed
Or edit the vim file directly, and it will be displayed after each opening
Modify the vi ~/.vimrc file and add: set number
Edit files
:set number Displays the number of rows
:set nu abbreviation
:set nu! No row count is displayed
Or edit the vim file directly, and it will be displayed after each opening
Modify the vi ~/.vimrc file and add: set number