The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Make the prettify-symbols-mode section easier to read

master
Gergely Polonkai 2 years ago
parent e343fda9e1
commit 8b2e5d8659
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
  1. 28
      configuration.org

@ -1185,18 +1185,22 @@ Because we can.
And set up all the pretty symbols.
#+BEGIN_SRC emacs-lisp
;; Add some symbols to be prettified
(setq prettify-symbols-alist
'(("lambda" . 955) ; λ
("function" . 402) ; ƒ
("->" . 8594) ; →
("=>" . 8658) ; ⇒
("map" . 8614) ; ↦
("not" . 172)) ; ¬
("not" . 172))) ; ¬
#+END_SRC
…and some pairs to complete
;; …and some pairs to complete
;; TODO: maybe add-to-list is a better way to do it
insert-pair-alist '(
*************** TODO Maybe add-to-list is a better way to do it
*************** END
#+BEGIN_SRC emacs-lisp
(setq insert-pair-alist '(
(40 41) ; ()
(91 93) ; []
(123 125) ; {}
@ -1210,14 +1214,16 @@ And set up all the pretty symbols.
(8249 8250) ; ‹›
(8250 8249) ; ›‹
(171 187) ; «»
(187 171)) ; »«
(187 171))) ; »«
#+END_SRC
Finally, set the frame title to the current file name
;; Set the frame title to the current file name
frame-title-format '((:eval (concat system-name
#+BEGIN_SRC emacs-lisp
(setq frame-title-format '((:eval (concat system-name
": "
(if (buffer-file-name)
(abbreviate-file-name
(buffer-file-name))
(abbreviate-file-name (buffer-file-name))
"%b")))))
#+END_SRC
@ -2967,6 +2973,8 @@ This is a big one; I use a lot of customisation here.
(require 'org-protocol)
;; Make it possible to encrypt headings
(require 'org-crypt)
;; Make it possible to use inline tasks
(require 'org-inlinetask)
:custom
(org-log-into-drawer t)

Loading…
Cancel
Save