You can toggle linum-mode for any Emacs buffer with the command M-x linum-mode. Or if you want to set it globally for every file you edit, add this to your .emacs file:
(require 'linum) (global-linum-mode 1)linum-mode should come pre-installed with Emacs 22 and beyond. It is also bundled with Aquamacs 1.7 (and maybe earlier...)
this linum-mode is highly inefficient..
ReplyDeleteHow so? Admittedly I haven't opened any files over approx. 1.5k lines with it, but I'm interested to know how it fares on slower machines and larger source files.
ReplyDelete