summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorKΓ©vin Le Gouguec <kevin.legouguec@gmail.com>2025-01-26 00:00:50 +0100
committerKΓ©vin Le Gouguec <kevin.legouguec@gmail.com>2025-01-26 00:00:50 +0100
commit1e13c0050886527d1330bba2765999fac456dfe9 (patch)
treef9a302654f2d556651c2bf31a27e52c96d634d67 /.config/emacs
parent12cfef0c0cdf97cf5c8c1affb60c42acd5041c46 (diff)
downloaddotfiles-1e13c0050886527d1330bba2765999fac456dfe9.tar.xz
Add fancy dashes to my/symbols input method
And insert an emoji for /!\. I can get the ⚠ with C-x 8.
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el5
1 files 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)