Emacs port of the excellent Spacegray theme for Sublime Text.
If you're all set up to use MELPA, simply
M-x package-install RET spacegray-theme RET
Otherwise, ensure sure a directory containing these files is on your load-path
.
Use M-x customize-themes
to activate it, or put the following in your Emacs configuration file:
(load-theme 'spacegray t)
Always highlight the current line:
(global-hl-line-mode 1)
Show line numbers, dynamically with spaces on either side:
(global-linum-mode 1)
(defadvice linum-update-window (around linum-dynamic activate)
(let* ((w (length (number-to-string
(count-lines (point-min) (point-max)))))
(linum-format (concat " %" (number-to-string w) "d ")))
ad-do-it))
You may want to turn off linum for certain modes (this uses linum-off):
(require 'linum-off)
Highlight the current line number (requires hlinum):
(require 'hlinum)
(hlinum-activate)
Collapse fringes:
(fringe-mode -1)
- Gadzhi Kharkharov for the original Spacegray color theme on Sublime Text.
- Ozan Sener for afternoon-theme, used as boilerplate for this package.
- Steve Purcell for color-theme-sanityinc-tomorrow, which afternoon-theme was based on.