• missing xbfish.com image

Display line numbers by default in VIM

missing xbfish.com image
Posted on

VIM is a clone of VI with additional features and is cross-platform.

In order to show line numbers in VIM whenever you open up a source file, open _vimrc at VIM installation directory.

Add the following line at the start of the file:

set number

This will set displaying of line numbers by default in VIM.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Spam protection by WP Captcha-Free