Created
January 16, 2013 17:14
-
-
Save mepcotterell/4548901 to your computer and use it in GitHub Desktop.
Add line numbers to Emacs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; add line numbers | |
| (global-linum-mode 1) | |
| ;; display line numbers and column numbers | |
| (setq line-number-mode t) | |
| (setq column-number-mode t) | |
| ;; make sure the line numbers don't touch the text | |
| (setq linum-format "%d ") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment