relative-line-numbers

https://github.com/Fanael/relative-line-numbers.git

git clone 'git://github.com/Fanael/relative-line-numbers.git'
14

Melpa Status Melpa Stable Status

Relative line numbers

relative-line-numbers is an Emacs package that displays relative line numbers on the left margin.

Installation

The package is available in MELPA.

If you have MELPA in package-archives, use

M-x package-install RET relative-line-numbers RET

If you don't, open relative-line-numbers.el in Emacs and call package-install-from-buffer.

Usage

To toggle the mode in the current buffer:

M-x relative-line-numbers-mode

To toggle the mode globally:

M-x global-relative-line-numbers-mode

To turn it on automatically everywhere, add the following line to your Emacs init file:

(global-relative-line-numbers-mode)

Please note that this package does not rely on linum. Make sure linum-mode is disabled before enabling relative-line-numbers-mode.

Customization

Faces

Variables