From e267f364f810dceae50a6728890468f815363778 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 26 Apr 2014 12:32:10 +0100 Subject: Emacs: install and configure smart-mode-line Diminish projectile-mode as sml reads from it anyway --- tag-emacs/emacs.d/Cask | 1 + tag-emacs/emacs.d/init.el | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index 5df9a3d7..b4ce4e37 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 765d332d..6710a680 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))) -- cgit 1.4.1