From e1d0fbe83ecba25914eca7875544c2300ac2ffc6 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Fri, 21 Dec 2018 12:47:29 -0500 Subject: [PATCH] Add emacs whitespace butler --- lain/.emacs.d/config.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lain/.emacs.d/config.org b/lain/.emacs.d/config.org index 61d7ba5..901ce90 100644 --- a/lain/.emacs.d/config.org +++ b/lain/.emacs.d/config.org @@ -678,6 +678,14 @@ Use =S= and a delimiter to surround in visual mode. :config (global-evil-surround-mode 1)) #+END_SRC +*** ws-butler +Unobtrusively cleans up whitespace before EOLs +as you edit, stopping the noisy commits generated +from blanket trimming entire files. +#+BEGIN_SRC emacs-lisp +(use-package ws-butler + :hook (prog-mode . ws-butler-mode)) +#+END_SRC ** Prettification *** pretty-mode [[https://github.com/pretty-mode/pretty-mode][Redisplay parts of the Emacs buffer as pretty symbols.]]