summary refs log tree commit diff
path: root/emacs.d/custom
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-09-27 13:19:11 -0700
committerFranck Cuny <fcuny@twitter.com>2019-09-27 13:19:11 -0700
commit0d4db2bf438f0030d396c460894936ab257ba225 (patch)
tree74b00eb89b164dfbc567c4314ee0e135dab1bfaf /emacs.d/custom
parent[emacs] new package: jq-format (diff)
downloademacs.d-0d4db2bf438f0030d396c460894936ab257ba225.tar.gz
[emacs] use smart-modeline (again)
this modeline is nice and easy to spot which modes are enabled.
Diffstat (limited to 'emacs.d/custom')
-rw-r--r--emacs.d/custom/fcuny-ui.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el
index 3cfc9ae..ee1adea 100644
--- a/emacs.d/custom/fcuny-ui.el
+++ b/emacs.d/custom/fcuny-ui.el
@@ -36,4 +36,14 @@
 (use-package hydra
   :ensure t)
 
+(use-package smart-mode-line
+  :ensure t
+  :config
+  ;; See https://github.com/Malabarba/smart-mode-line/issues/217
+  (setq mode-line-format (delq 'mode-line-position mode-line-format))
+  (setq sml/no-confirm-load-theme t)
+  (sml/setup)
+  (sml/apply-theme 'light)
+  (remove-hook 'display-time-hook 'sml/propertize-time-string))
+
 (provide 'fcuny-ui)