Refining org config.
This commit is contained in:
parent
7b0757f128
commit
aced36ad35
@ -15,7 +15,7 @@
|
||||
(visual-fill-column-mode 1)
|
||||
|
||||
;; Configuración de fonts
|
||||
(set-face-attribute (car face) nil :font "Cantarell" :weight 'regular :height (cdr face))
|
||||
;; (set-face-attribute (car face) nil :font "Cantarell" :weight 'regular :height (cdr face))
|
||||
|
||||
;; Ensure that anything that should be fixed-pitch in Org files appears that way
|
||||
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
||||
@ -32,7 +32,7 @@
|
||||
:strike-through t
|
||||
:foreground "light gray")
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
(use-package org
|
||||
:defer t
|
||||
@ -47,10 +47,13 @@
|
||||
(setq org-agenda-start-with-log-mode t)
|
||||
(setq org-log-done 'time)
|
||||
(setq org-log-into-drawer t)
|
||||
(setq org-cycle-separator-lines -1)
|
||||
(setq org-cycle-separator-lines 2)
|
||||
|
||||
;; Identación
|
||||
(org-indent-mode)
|
||||
(setq org-startup-indented t)
|
||||
(setq org-src-preserve-indentation nil)
|
||||
(setq org-edit-src-content-indentation 0)
|
||||
(setq org-src-tab-acts-natively t)
|
||||
|
||||
;; Palabras claves del To Do de org-mode
|
||||
(setq org-todo-keywords
|
||||
@ -66,12 +69,12 @@
|
||||
|
||||
|
||||
;; 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)))
|
||||
;; (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
|
||||
@ -121,13 +124,14 @@
|
||||
)
|
||||
|
||||
(use-package org-bullets
|
||||
:defer t
|
||||
:hook
|
||||
(org-mode . org-bullets-mode))
|
||||
|
||||
(use-package visual-fill-column
|
||||
:config
|
||||
;; Tamaño de la columna
|
||||
(setq visual-fill-column-width 150)
|
||||
(setq-default visual-fill-column-width 150)
|
||||
;; Centrar el texto
|
||||
(setq-default visual-fill-column-center-text t)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user