From 69c27c113d5754d82914e294803bce8b02d52ffc Mon Sep 17 00:00:00 2001 From: Ashley Duckworth Date: Fri, 22 Jan 2021 14:58:34 -0600 Subject: Setup prettify-mode --- config.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/config.org b/config.org index 5b7ebf9..1c3e2e9 100644 --- a/config.org +++ b/config.org @@ -1124,6 +1124,25 @@ to auto-fill in programming modes, but /only/ the comments. (blackout 'aggressive-indent-mode) #+end_src +** Typesetting + +*** Prettify-mode + +I like my pretty =lambda='s -- and maybe one day, I'll add more symbols, +but only in prog-mode. I want to see what I'm actually typing in +text. + +#+begin_src emacs-lisp :noweb-ref hooks + (add-hook 'prog-mode-hook #'prettify-symbols-mode) +#+end_src + +Of course, I want to be able to /see/ the actual text in the buffer if +I'm /in/ the symbols. + +#+begin_src emacs-lisp :noweb-ref settings + (setq-default prettify-symbols-unprettify-at-point 'right-edge) +#+end_src + ** Executable scripts This poorly-named function will make a file executable if it looks -- cgit 1.4.1-21-gabe81