Skip to content

Instantly share code, notes, and snippets.

@roopeshvaddepally
Created January 16, 2011 05:11
Show Gist options
  • Save roopeshvaddepally/781584 to your computer and use it in GitHub Desktop.
Save roopeshvaddepally/781584 to your computer and use it in GitHub Desktop.
enable line numbers in the sidebar and column numbers at the info line
(column-number-mode t) ; included with emacs from v22 or something
;; enable lines on the side of buffer
(require 'linum) ; included with emacs from v22 or something
(linum-mode t)
;; I want this feature available in all buffers. Just a convenience
(global-linux-mode t)
;; have a padding of one line between line numbers and the text
(setq linum-format "%d ")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment