From a74cb53baecdcd64a1790ce0664688a53fac1f2c Mon Sep 17 00:00:00 2001 From: rush Date: Wed, 24 Jun 2026 15:57:26 -0400 Subject: [PATCH] move pretty symbols out of mode-line config --- config.org | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/config.org b/config.org index 4690d64..ee17690 100644 --- a/config.org +++ b/config.org @@ -469,7 +469,7 @@ Libraries Not from the package manager (keymap-global-set "" #'end-of-buffer) #+END_SRC * Commenting and defun-level bindings -#+BEGIN_SRC emacs-lisp +#+BEGIN_SRC emacs-lisp (defun re/comment-dwim (&optional arg) "Comment region if active, otherwise comment line. Stolen from https://depp.brause.cc/dotemacs" @@ -925,7 +925,17 @@ Stolen from https://www.masteringemacs.org/article/fixing-mark-commands-transien mode-line-modes (:eval (number-to-string (line-number-at-pos (point-max)))) " Lines | %Ib ")) +#+END_SRC +*** Minions +Remove all minor modes from the mode-line, and show /all/ of them in the minor mode menu. Must come after any modeline customization +#+BEGIN_SRC emacs-lisp +(require 'minions) +(minions-mode) +(setq minions-mode-line-lighter "|+") +#+END_SRC +** Pretty Symbols +#+BEGIN_SRC emacs-lisp (setq prettify-symbols-alist '(("lambda" . 955) ("delta" . 120517) ("epsilon" . 120518) @@ -935,14 +945,6 @@ Stolen from https://www.masteringemacs.org/article/fixing-mark-commands-transien (global-prettify-symbols-mode t) #+END_SRC -*** Minions -Remove all minor modes from the mode-line, and show /all/ of them in the minor mode menu. Must come after any modeline customization -#+BEGIN_SRC emacs-lisp -(require 'minions) -(minions-mode) - -(setq minions-mode-line-lighter "|+") -#+END_SRC * Parens Must be set after loading any theme #+BEGIN_SRC emacs-lisp -- 2.39.5