summary refs log tree commit diff stats
path: root/config.org
diff options
context:
space:
mode:
authorAshley Duckworth2021-01-22 14:58:34 -0600
committerAshley Duckworth2021-01-22 14:58:34 -0600
commit69c27c113d5754d82914e294803bce8b02d52ffc (patch)
treea9039c60aaa5846beb12c9bc3b5b32f820bc8b32 /config.org
parentAdd anzu (diff)
downloademacs-69c27c113d5754d82914e294803bce8b02d52ffc.tar.gz
emacs-69c27c113d5754d82914e294803bce8b02d52ffc.zip
Setup prettify-mode
Diffstat (limited to 'config.org')
-rw-r--r--config.org19
1 files changed, 19 insertions, 0 deletions
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.
1124 (blackout 'aggressive-indent-mode) 1124 (blackout 'aggressive-indent-mode)
1125#+end_src 1125#+end_src
1126 1126
1127** Typesetting
1128
1129*** Prettify-mode
1130
1131I like my pretty =lambda='s -- and maybe one day, I'll add more symbols,
1132but only in prog-mode. I want to see what I'm actually typing in
1133text.
1134
1135#+begin_src emacs-lisp :noweb-ref hooks
1136 (add-hook 'prog-mode-hook #'prettify-symbols-mode)
1137#+end_src
1138
1139Of course, I want to be able to /see/ the actual text in the buffer if
1140I'm /in/ the symbols.
1141
1142#+begin_src emacs-lisp :noweb-ref settings
1143 (setq-default prettify-symbols-unprettify-at-point 'right-edge)
1144#+end_src
1145
1127** Executable scripts 1146** Executable scripts
1128 1147
1129This poorly-named function will make a file executable if it looks 1148This poorly-named function will make a file executable if it looks