Refining org config.
This commit is contained in:
parent
7b0757f128
commit
aced36ad35
@ -15,7 +15,7 @@
|
|||||||
(visual-fill-column-mode 1)
|
(visual-fill-column-mode 1)
|
||||||
|
|
||||||
;; Configuración de fonts
|
;; 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
|
;; 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)
|
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
||||||
@ -32,7 +32,7 @@
|
|||||||
:strike-through t
|
:strike-through t
|
||||||
:foreground "light gray")
|
:foreground "light gray")
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:defer t
|
:defer t
|
||||||
@ -47,10 +47,13 @@
|
|||||||
(setq org-agenda-start-with-log-mode t)
|
(setq org-agenda-start-with-log-mode t)
|
||||||
(setq org-log-done 'time)
|
(setq org-log-done 'time)
|
||||||
(setq org-log-into-drawer t)
|
(setq org-log-into-drawer t)
|
||||||
(setq org-cycle-separator-lines -1)
|
(setq org-cycle-separator-lines 2)
|
||||||
|
|
||||||
;; Identación
|
;; 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
|
;; Palabras claves del To Do de org-mode
|
||||||
(setq org-todo-keywords
|
(setq org-todo-keywords
|
||||||
@ -66,12 +69,12 @@
|
|||||||
|
|
||||||
|
|
||||||
;; Embellecer los checkbox
|
;; Embellecer los checkbox
|
||||||
(add-hook 'org-mode-hook (lambda ()
|
;; (add-hook 'org-mode-hook (lambda ()
|
||||||
"Beautify Org Checkbox Symbol"
|
;; "Beautify Org Checkbox Symbol"
|
||||||
(push '("[ ]" . "☐") prettify-symbols-alist)
|
;; (push '("[ ]" . "☐") prettify-symbols-alist)
|
||||||
(push '("[X]" . "☑" ) prettify-symbols-alist)
|
;; (push '("[X]" . "☑" ) prettify-symbols-alist)
|
||||||
(push '("[-]" . "❍" ) prettify-symbols-alist)
|
;; (push '("[-]" . "❍" ) prettify-symbols-alist)
|
||||||
(prettify-symbols-mode)))
|
;; (prettify-symbols-mode)))
|
||||||
|
|
||||||
;; Tachar los checkbox marcados como terminados
|
;; Tachar los checkbox marcados como terminados
|
||||||
(defface org-checkbox-done-text
|
(defface org-checkbox-done-text
|
||||||
@ -121,13 +124,14 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
(use-package org-bullets
|
(use-package org-bullets
|
||||||
|
:defer t
|
||||||
:hook
|
:hook
|
||||||
(org-mode . org-bullets-mode))
|
(org-mode . org-bullets-mode))
|
||||||
|
|
||||||
(use-package visual-fill-column
|
(use-package visual-fill-column
|
||||||
:config
|
:config
|
||||||
;; Tamaño de la columna
|
;; Tamaño de la columna
|
||||||
(setq visual-fill-column-width 150)
|
(setq-default visual-fill-column-width 150)
|
||||||
;; Centrar el texto
|
;; Centrar el texto
|
||||||
(setq-default visual-fill-column-center-text t)
|
(setq-default visual-fill-column-center-text t)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user