Skip to content
A Hyperminimal UI Theme for Emacs
Emacs Lisp
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
spacegray-theme.el
spacegray1.png

README.md

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

License

See LICENSE.

You can’t perform that action at this time.