dot/emacs: Format line numbers prettily.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 27 Dec 2009 11:43:01 +0000 (11:43 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 27 Dec 2009 11:43:01 +0000 (11:43 +0000)
They'll take up eight columns, which makes tabs work; there's a space
after.

dot/emacs

index 660a7ee..9c394b6 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 (setq enable-local-variables :safe
       enable-local-eval nil)
 (setq dabbrev-case-replace nil)                ;Retain case when completing
+(setq linum-format "%7d ")
 (setq next-line-add-newlines nil)      ;Don't add weird newlines
 (setq split-height-threshold 45)       ;Reuse windows where sensible
 (setq display-buffer-reuse-frames nil  ;Don't confuse me by showing buffers