summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-04-26 12:32:10 +0100
committerAlan Pearce2014-04-26 12:51:03 +0100
commite267f364f810dceae50a6728890468f815363778 (patch)
tree37e4bbfd43e9fb5882abdbe6abfdec988f595460
parentfeb382a1d0d978a4edce9da10a3db9939d570dc2 (diff)
downloaddotfiles-e267f364f810dceae50a6728890468f815363778.tar.lz
dotfiles-e267f364f810dceae50a6728890468f815363778.tar.zst
dotfiles-e267f364f810dceae50a6728890468f815363778.zip
Emacs: install and configure smart-mode-line
Diminish projectile-mode as sml reads from it anyway
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el6
2 files changed, 7 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index 5df9a3d..b4ce4e3 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -50,6 +50,7 @@
 (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")
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 765d332..6710a68 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-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 @@
   :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)))