spacegray-theme

https://github.com/bruce/emacs-spacegray-theme.git

git clone 'git://github.com/bruce/emacs-spacegray-theme.git'
38

emacs-spacegray-theme

Emacs port of the excellent Spacegray theme for Sublime Text.

Installation

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)

Screenshot

Screenshot

Suggested Configuration

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)

Credits