From 3c012cfd1def177ff808e4b69ba1cdd3fda8835e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 12 Feb 2016 15:35:07 -0800 Subject: [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". --- emacs.d/inits/00_ui.el | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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)) -- cgit 1.4.1