From 5314eba6c768af214e06e7634b18567f165bae6f Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 2 Jul 2024 17:42:45 +0200 Subject: [PATCH] Update .emacs.d/config.org --- private_dot_emacs.d/config.org | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/private_dot_emacs.d/config.org b/private_dot_emacs.d/config.org index 27a3bcb..61dfe76 100644 --- a/private_dot_emacs.d/config.org +++ b/private_dot_emacs.d/config.org @@ -75,7 +75,27 @@ I don't like any visual or sound bell. I use the default monospace font, as it allows me to configure it system wide and have everything coherent. We just make it bigger here for readability. #+begin_src emacs-lisp - (set-face-attribute 'default nil :height 125) + (set-face-attribute 'default nil :font "monospace" :height 125) +#+end_src +**** Ligatures + +#+begin_src emacs-lisp + (use-package ligature + :config + (ligature-set-ligatures '(prog-mode tsx-ts-mode) '("--" "---" "==" "===" "!=" "!==" "=!=" + "=:=" "=/=" "<=" ">=" "&&" "&&&" "&=" "++" "+++" "***" ";;" "!!" + "??" "???" "?:" "?." "?=" "<:" ":<" ":>" ">:" "<:<" "<>" "<<<" ">>>" + "<<" ">>" "||" "-|" "_|_" "|-" "||-" "|=" "||=" "##" "###" "####" + "#{" "#[" "]#" "#(" "#?" "#_" "#_(" "#:" "#!" "#=" "^=" "<$>" "<$" + "$>" "<+>" "<+" "+>" "<*>" "<*" "*>" "" "/>" "" "->" "->>" "<<-" "<-" "<=<" "=<<" "<<=" "<==" "<=>" "<==>" + "==>" "=>" "=>>" ">=>" ">>=" ">>-" ">-" "-<" "-<<" ">->" "<-<" "<-|" + "<=|" "|=>" "|->" "<->" "<~~" "<~" "<~>" "~~" "~~>" "~>" "~-" "-~" + "~@" "[||]" "|]" "[|" "|}" "{|" "[<" ">]" "|>" "<|" "||>" "<||" + "|||>" "<|||" "<|>" "..." ".." ".=" "..<" ".?" "::" ":::" ":=" "::=" + ":?" ":?>" "//" "///" "/*" "*/" "/=" "//=" "/==" "@_" "__" "???" + "<:<" ";;;")) + (global-ligature-mode t)) #+end_src *** Visual mode