summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-03-10 19:50:46 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-03-10 19:50:46 -0800
commitad68b0eb05fcc6b3375d88cdd1a68ef056d75ef9 (patch)
tree017c1d40c9fe4e98289def3779cadbbe82ba42fa
parent[emacs] reduce the size of the font. (diff)
downloademacs.d-ad68b0eb05fcc6b3375d88cdd1a68ef056d75ef9.tar.gz
[emacs] Stop using smart-mode-line.
Instead set the mode line manually.
-rw-r--r--emacs.d/core/core-ui.el23
1 files changed, 15 insertions, 8 deletions
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)