From 1e13c0050886527d1330bba2765999fac456dfe9 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 26 Jan 2025 00:00:50 +0100 Subject: Add fancy dashes to my/symbols input method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And insert an emoji for /!\. I can get the ⚠ with C-x 8. --- .config/emacs/init.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 417859e..d52eecd 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -59,6 +59,7 @@ (`(,key ,translation) '(;; Punctuation ("..." ?…) + ("--" ?–) ("---" ?—) ;; Math symbols ("~~" ?≈) ("~~=" ?≊) ("~==" ?≅) ("~=" ?≃) ("==" ?≡) ("^=" ?≙) (":=" ?≔) @@ -67,9 +68,7 @@ ("<--" ?←) ("" ?↔) ("<=>" ?⇔) ;; Emojis - ("\\o/" ?🙌) ("\\m/" ?🤘) - ;; Pictograms - ("/!\\" ?⚠))) + ("/!\\" ⚠️) ("\\o/" ?🙌) ("\\m/" ?🤘))) (quail-defrule key translation "my/symbols")) (defmacro my/make-input-toggle (input-method) -- cgit v1.2.3