Linum

From WikEmacs
Jump to navigation Jump to search
linum
Description display line numbers in the margin
Author Markus Triska <markus.triska@gmx.at>
Maintainer FSF
Source http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/linum.el
Part of Emacs yes

linum is a mode displaying line numbers in the left margin of the buffer.

Basic setup

To globally enable linum for all buffers, add this to your Emacs configuration file:

(global-linum-mode 1)

You can also enable linum on a per-buffer basis using M-x linum-mode.


See Also