diff options
author | Alan Pearce | 2014-04-26 12:32:10 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-26 12:51:03 +0100 |
commit | e267f364f810dceae50a6728890468f815363778 (patch) | |
tree | 37e4bbfd43e9fb5882abdbe6abfdec988f595460 | |
parent | feb382a1d0d978a4edce9da10a3db9939d570dc2 (diff) | |
download | nixfiles-e267f364f810dceae50a6728890468f815363778.tar.lz nixfiles-e267f364f810dceae50a6728890468f815363778.tar.zst nixfiles-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/Cask | 1 | ||||
-rw-r--r-- | tag-emacs/emacs.d/init.el | 6 |
2 files changed, 7 insertions, 0 deletions
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))) |