summaryrefslogtreecommitdiffstats
path: root/emacs.d
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-17 20:17:48 -0400
committerDavid Robillard <d@drobilla.net>2015-10-17 20:20:10 -0400
commit6eba4ec47fa87cfd9fb1a1f7842149b7516879b6 (patch)
tree3462983bde6f819c0ec4f5f6652373ef5f452db9 /emacs.d
parenteaf6a0e9519b17e6f4597d6bf43686f0b1b67e52 (diff)
downloaddotfiles-6eba4ec47fa87cfd9fb1a1f7842149b7516879b6.tar.gz
dotfiles-6eba4ec47fa87cfd9fb1a1f7842149b7516879b6.tar.bz2
dotfiles-6eba4ec47fa87cfd9fb1a1f7842149b7516879b6.zip
Fancy mode line
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/init.el15
1 files changed, 13 insertions, 2 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index c3f425d..4df64c0 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -6,6 +6,9 @@
(require 'psvn)
(require 'tramp)
(require 'window-numbering)
+(require 'dash)
+(require 'spaceline-config)
+
(setq tramp-default-method "scp")
(setq package-archives
@@ -15,6 +18,8 @@
;; Garbage collect much less often (every 10 MiB)
(setq-default gc-cons-threshold 10000000)
+(spaceline-emacs-theme)
+
;; Save backup and autosave files to /tmp instead of polluting file system
(setq
backup-by-copying t ; Don't clobber symlinks
@@ -46,6 +51,7 @@
'(column-number-mode t)
'(compilation-scroll-output t)
'(dired-listing-switches "-al --time-style=long-iso")
+ '(erc-mode-line-format "%t")
'(fill-column 79)
'(font-lock-maximum-decoration t)
'(frame-background-mode (quote dark))
@@ -57,6 +63,7 @@
'(jshint-mode-node-program "nodejs")
'(magit-diff-refine-hunk (quote all))
'(menu-bar-mode nil)
+ '(powerline-default-separator (quote slant))
'(quack-pretty-lambda-p t)
'(quack-run-scheme-always-prompts-p nil)
'(scroll-bar-mode (quote right))
@@ -100,10 +107,14 @@
'(link-visited ((default (:inherit link)) (((class color) (background dark)) (:foreground "#6C71C4"))))
'(magit-item-highlight ((t (:background "gray12"))))
'(minibuffer-prompt ((((background dark)) (:foreground "white"))))
- '(mode-line ((((class color) (min-colors 88)) (:background "gray35" :foreground "black" :box (:line-width -1 :color "black")))))
- '(mode-line-inactive ((default (:inherit mode-line)) (((class color) (min-colors 88) (background dark)) (:background "gray20" :foreground "gray15" :box nil))))
+ '(mode-line ((t (:background "#2D3232" :foreground "black" :box (:line-width -1 :color "black")))))
+ '(mode-line-inactive ((t (:inherit mode-line :background "gray20" :foreground "gray15" :box (:line-width 2 :color "#1A1A1A")))))
'(nobreak-space ((((class color) (min-colors 88)) (:inherit escape-glyph :underline t))))
+ '(powerline-active2 ((t (:inherit mode-line :background "#2D3232"))))
'(smerge-refined-change ((t (:background "gray20"))))
+ '(spaceline-highlight-face ((t (:background "#383838" :foreground "#BFC3C2" :inherit (quote mode-line)))))
+ '(spaceline-modified ((t (:background "#A66" :foreground "#3E3D31" :inherit (quote mode-line)))))
+ '(spaceline-unmodified ((t (:background "#777" :foreground "#3E3D31" :inherit (quote mode-line)))))
'(whitespace-newline ((t (:foreground "grey20" :weight normal))))
'(whitespace-space ((t (:foreground "grey20"))))
'(whitespace-tab ((t (:foreground "grey20"))))