From 0d4db2bf438f0030d396c460894936ab257ba225 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 27 Sep 2019 13:19:11 -0700 Subject: [emacs] use smart-modeline (again) this modeline is nice and easy to spot which modes are enabled. --- emacs.d/custom/fcuny-ui.el | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'emacs.d/custom') 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) -- cgit 1.4.1