diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-02-12 15:35:07 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-02-12 15:35:07 -0800 |
commit | 3c012cfd1def177ff808e4b69ba1cdd3fda8835e (patch) | |
tree | c633e5bb701f8eaeaec7b92ffb5bfcc3cdd4312b | |
parent | [emacs] rename the *emacs.el* file to *default.el* (diff) | |
download | emacs.d-3c012cfd1def177ff808e4b69ba1cdd3fda8835e.tar.gz |
[emacs] some updates to the UI package.
Shorter scratch message. Don't make the cursor blink, this is annoying and distracting. Use (again) "leuven" as a theme (I like this color scheme). And start using (yes, again) the "smart-mode-line".
-rw-r--r-- | emacs.d/inits/00_ui.el | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/emacs.d/inits/00_ui.el b/emacs.d/inits/00_ui.el index 6abfa20..29d900a 100644 --- a/emacs.d/inits/00_ui.el +++ b/emacs.d/inits/00_ui.el @@ -9,9 +9,13 @@ ;; no startup screen (setq inhibit-startup-message t) +(setq initial-scratch-message ";; scratch buffer") (setq frame-title-format '(buffer-file-name "%f" ("%b"))) +;; no blink cursor +(blink-cursor-mode -1) + ;; show the column number in the mode-line (setq column-number-mode t) @@ -28,3 +32,18 @@ (require 'whitespace) (global-whitespace-mode 1) (setq whitespace-style '(face trailing tabs tab-mark)) + +(use-package leuven-theme + :init + (load-theme 'leuven t)) + +(use-package smart-mode-line + :ensure t + :config + (use-package smart-mode-line-powerline-theme + :ensure t + :if window-system ; enable only in gui mode + :config + (setq sml/theme 'light)) + (setq rm-whitelist '("")) + (sml/setup)) |