all repos — nixfiles @ e267f364f810dceae50a6728890468f815363778

System and user configuration, managed by nix and home-manager

Emacs: install and configure smart-mode-line

Diminish projectile-mode as sml reads from it anyway
Alan Pearce alan@alanpearce.co.uk
Sat, 26 Apr 2014 12:32:10 +0100
commit

e267f364f810dceae50a6728890468f815363778

parent

feb382a1d0d978a4edce9da10a3db9939d570dc2

2 files changed, 7 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/Casktag-emacs/emacs.d/Cask
@@ -50,6 +50,7 @@ (depends-on "redshank") (depends-on "req-package")
 (depends-on "s")
 (depends-on "skewer-mode")
+(depends-on "smart-mode-line")
 (depends-on "smart-tab")
 (depends-on "smart-tabs-mode")
 (depends-on "smex")
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -542,6 +542,11 @@ (column-number-mode t)
 (size-indication-mode t)
 
+(req-package smart-mode-line
+  :init (progn
+          (setq sml/theme 'respectful)
+          (sml/setup)))
+
 ;;;; Modes
 
 ;;;; systemd files
@@ -657,6 +662,7 @@ (req-package projectile   :bind (("C-c C-f" . projectile-find-file)
          ("s-x s-f" . projectile-find-file))
   :init (projectile-global-mode)
+  :diminish projectile-mode
   :config (progn
             (setq projectile-switch-project-action #'projectile-dired
                   projectile-remember-window-configs t)))