Skip to content

bruce/emacs-spacegray-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Hyperminimal UI Theme for Emacs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published