Change org-fancy-priorities to prettify-symbols-mode.
prettify-symbols-mode is a mode build-in into org-mode. So, we use the one that already have instead add another package that do the same.
This commit is contained in:
parent
29328974c2
commit
138aa48811
@ -45,6 +45,15 @@
|
||||
:strike-through t
|
||||
:foreground "light gray")
|
||||
|
||||
;; Embellecer las prioridades
|
||||
(setq org-highest-priority ?A
|
||||
org-default-priority ?B
|
||||
org-lowest-priority ?D) ;; Cambiar prioridades de A,B,C a A,B,C,D
|
||||
(push '("[#A]" . "⚡" ) prettify-symbols-alist)
|
||||
(push '("[#B]" . "🔥" ) prettify-symbols-alist)
|
||||
(push '("[#C]" . "🐢" ) prettify-symbols-alist)
|
||||
(push '("[#D]" . "☕" ) prettify-symbols-alist)
|
||||
(prettify-symbols-mode)
|
||||
)
|
||||
|
||||
;; org-mode
|
||||
@ -83,15 +92,6 @@
|
||||
("CANCELED" . "#aaa"))
|
||||
)
|
||||
|
||||
|
||||
;; Embellecer los checkbox
|
||||
;; (add-hook 'org-mode-hook (lambda ()
|
||||
;; "Beautify Org Checkbox Symbol"
|
||||
;; (push '("[ ]" . "☐") prettify-symbols-alist)
|
||||
;; (push '("[X]" . "☑" ) prettify-symbols-alist)
|
||||
;; (push '("[-]" . "❍" ) prettify-symbols-alist)
|
||||
;; (prettify-symbols-mode)))
|
||||
|
||||
;; Tachar los checkbox marcados como terminados
|
||||
(defface org-checkbox-done-text
|
||||
'((t (:foreground "#71696A" :strike-through t)))
|
||||
@ -197,18 +197,6 @@
|
||||
:ensure t
|
||||
:hook (org-mode . org-autolist-mode))
|
||||
|
||||
;; Emojis en lugar de letras para las prioridades en org-mode.
|
||||
(use-package org-fancy-priorities
|
||||
:defer t
|
||||
:ensure t
|
||||
:hook (org-mode . org-fancy-priorities-mode)
|
||||
:config
|
||||
(setq org-highest-priority ?A
|
||||
org-default-priority ?B
|
||||
org-lowest-priority ?D
|
||||
org-fancy-priorities-list '("⚡" "🔥" "🐢" "☕"))
|
||||
)
|
||||
|
||||
;; Org mode en modo presentación
|
||||
(use-package org-present
|
||||
:defer t
|
||||
|
Loading…
Reference in New Issue
Block a user