diff options
-rw-r--r-- | config.org | 33 |
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) |