From 6eba4ec47fa87cfd9fb1a1f7842149b7516879b6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 17 Oct 2015 20:17:48 -0400 Subject: Fancy mode line --- emacs.d/init.el | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'emacs.d') 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")))) -- cgit v1.2.1