summary refs log tree commit diff stats
path: root/config.org
diff options
context:
space:
mode:
authorCase Duckworth2020-10-26 18:38:47 -0500
committerCase Duckworth2020-10-26 18:38:47 -0500
commit5f12a56049dcf8e8d1a28dd388c5077fd7f17fca (patch)
tree6f5beee036ccab6d6500153b551042eba057c2f5 /config.org
parentAdd y-or-n-p alias (diff)
downloademacs-5f12a56049dcf8e8d1a28dd388c5077fd7f17fca.tar.gz
emacs-5f12a56049dcf8e8d1a28dd388c5077fd7f17fca.zip
Display addons
Diffstat (limited to 'config.org')
-rw-r--r--config.org33
1 files changed, 32 insertions, 1 deletions
diff --git a/config.org b/config.org index 0bd34e9..a5dca94 100644 --- a/config.org +++ b/config.org
@@ -252,6 +252,13 @@ I don't like the customize interface, but I still sometimes use it when I'm not
252#+begin_src emacs-lisp 252#+begin_src emacs-lisp
253 (fset 'yes-or-no-p #'y-or-n-p) 253 (fset 'yes-or-no-p #'y-or-n-p)
254#+end_src 254#+end_src
255*** Miscellaneous
256**** Convert =^L= to a line
257#+begin_src emacs-lisp
258 (use-package page-break-lines
259 :config
260 (global-page-break-lines-mode 1))
261#+end_src
255** Themes: [[https://github.com/protesilaos/modus-themes][Modus]] 262** Themes: [[https://github.com/protesilaos/modus-themes][Modus]]
256#+BEGIN_SRC emacs-lisp 263#+BEGIN_SRC emacs-lisp
257 (use-package modus-operandi-theme) 264 (use-package modus-operandi-theme)
@@ -305,7 +312,31 @@ I'm sure there's a better way to do this, but for now, this is the best I've got
305 :family "VariablePitch" 312 :family "VariablePitch"
306 :height 110) 313 :height 110)
307#+END_SRC 314#+END_SRC
308 315*** Ligatures
316#+begin_src emacs-lisp
317 (use-package ligature
318 :straight (ligature
319 :host github
320 :repo "mickeynp/ligature.el")
321 :config
322 (ligature-set-ligatures 'prog-mode
323 '("++" "--" "/=" "&&" "||" "||="
324 "->" "=>" "::" "__"
325 "==" "===" "!=" "=/=" "!=="
326 "<=" ">=" "<=>"
327 "/*" "*/" "//" "///"
328 "\\n" "\\\\"
329 "<<" "<<<" "<<=" ">>" ">>>" ">>="
330 "|=" "^="
331 "**" "--" "---" "----" "-----"
332 "==" "===" "====" "====="
333 "</" "<!--" "</>" "-->" "/>"
334 ":=" "..." ":>" ":<" ">:" "<:"
335 "::=" ;; add others here
336 ))
337 :config
338 (global-ligature-mode))
339#+end_src
309*** [[https://github.com/rolandwalker/unicode-fonts][Unicode fonts]] 340*** [[https://github.com/rolandwalker/unicode-fonts][Unicode fonts]]
310#+BEGIN_SRC emacs-lisp 341#+BEGIN_SRC emacs-lisp
311 (use-package persistent-soft) 342 (use-package persistent-soft)