From ad68b0eb05fcc6b3375d88cdd1a68ef056d75ef9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 10 Mar 2016 19:50:46 -0800 Subject: [emacs] Stop using smart-mode-line. Instead set the mode line manually. --- emacs.d/core/core-ui.el | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'emacs.d') diff --git a/emacs.d/core/core-ui.el b/emacs.d/core/core-ui.el index 1e519b4..266fb15 100644 --- a/emacs.d/core/core-ui.el +++ b/emacs.d/core/core-ui.el @@ -53,14 +53,6 @@ (global-whitespace-mode 1) (setq whitespace-style '(face trailing tabs tab-mark)) -(use-package smart-mode-line - :ensure t - :config - (setq sml/theme 'light) - (setq rm-whitelist '("")) - (setq sml/no-confirm-load-theme t) - (sml/setup)) - (use-package rainbow-delimiters :ensure t :defer t @@ -68,4 +60,19 @@ (progn (add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode))) +(setq-default mode-line-format + '("%e" mode-line-front-space + ;; Standard info about the current buffer + mode-line-mule-info + mode-line-client + mode-line-modified + mode-line-remote + mode-line-frame-identification + mode-line-buffer-identification " " mode-line-position + ;; Some specific information about the current buffer: + (flycheck-mode flycheck-mode-line) ; Flycheck status + mode-line-misc-info + ;; And the modes, which I don't really care for anyway + " " mode-line-modes mode-line-end-spaces)) + (provide 'core-ui) -- cgit 1.4.1