Compare commits
No commits in common. "9399a3e372dbd207228523e5be7d36858c688769" and "f41cde5c3c2bc420c7904dda0ae7f031eb873ce3" have entirely different histories.
9399a3e372
...
f41cde5c3c
@ -21,7 +21,7 @@
|
||||
"Configuración para el hook de 'org-mode'."
|
||||
|
||||
(display-line-numbers-mode 0)
|
||||
;; (variable-pitch-mode 1)
|
||||
(variable-pitch-mode 1)
|
||||
(visual-line-mode 1)
|
||||
(visual-fill-column-mode 1)
|
||||
|
||||
@ -36,20 +36,13 @@
|
||||
(set-face-attribute 'org-block nil :underline nil :foreground nil :background "#282a36")
|
||||
;; (set-face-attribute 'org-block-begin-line nil :underline nil :foreground nil :background "#1e1f28")
|
||||
;; (set-face-attribute 'org-block-end-line nil :underline nil :foreground nil :background nil)
|
||||
;; (set-face-attribute 'org-block-end-line nil :background 'unspecified)
|
||||
(set-face-attribute 'org-block-end-line nil :background 'unspecified)
|
||||
(set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch))
|
||||
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
|
||||
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)
|
||||
|
||||
;; (set-face-attribute 'org-block nil :background
|
||||
;; (color-darken-name
|
||||
;; (face-attribute 'default :background) 3))
|
||||
|
||||
;; (setq org-src-block-faces '(("emacs-lisp" (:background "#EEE2FF"))
|
||||
;; ("python" (:background "#E5FFB8"))))
|
||||
|
||||
;; Tachar los elementos "DONE"
|
||||
(set-face-attribute 'org-done nil :strike-through t)
|
||||
(set-face-attribute 'org-headline-done nil
|
||||
@ -64,16 +57,16 @@
|
||||
(push '("[#B]" . "🔥" ) prettify-symbols-alist)
|
||||
(push '("[#C]" . "🐢" ) prettify-symbols-alist)
|
||||
(push '("[#D]" . "☕" ) prettify-symbols-alist)
|
||||
;; (push '("#+begin_quote" . "❝" ) prettify-symbols-alist)
|
||||
;; (push '("#+end_quote" . "❞" ) prettify-symbols-alist)
|
||||
;; (push '("#+begin_export" . "📤" ) prettify-symbols-alist)
|
||||
;; (push '("#+end_export" . "⎯" ) prettify-symbols-alist)
|
||||
;; (push '("#+begin_comment" . "📝" ) prettify-symbols-alist)
|
||||
;; (push '("#+end_comment" . "⎯" ) prettify-symbols-alist)
|
||||
;; (push '("#+begin_src" . "❯" ) prettify-symbols-alist)
|
||||
;; (push '("#+end_src" . "⎯" ) prettify-symbols-alist)
|
||||
;; (push '("#+begin_example" . "🦉" ) prettify-symbols-alist)
|
||||
;; (push '("#+end_example" . "⎯" ) prettify-symbols-alist)
|
||||
(push '("#+begin_quote" . "❝" ) prettify-symbols-alist)
|
||||
(push '("#+end_quote" . "❞" ) prettify-symbols-alist)
|
||||
(push '("#+begin_export" . "📤" ) prettify-symbols-alist)
|
||||
(push '("#+end_export" . "⎯" ) prettify-symbols-alist)
|
||||
(push '("#+begin_comment" . "📝" ) prettify-symbols-alist)
|
||||
(push '("#+end_comment" . "⎯" ) prettify-symbols-alist)
|
||||
(push '("#+begin_src" . "❯" ) prettify-symbols-alist)
|
||||
(push '("#+end_src" . "⎯" ) prettify-symbols-alist)
|
||||
(push '("#+begin_example" . "🦉" ) prettify-symbols-alist)
|
||||
(push '("#+end_example" . "⎯" ) prettify-symbols-alist)
|
||||
(prettify-symbols-mode)
|
||||
)
|
||||
|
||||
@ -148,12 +141,7 @@
|
||||
(setq org-startup-with-inline-images t) ;; Mostrar por defecto las imágenes
|
||||
(setq org-display-remote-inline-images 'cache) ;; Mostrar imágenes remotas
|
||||
(setq org-image-actual-width 512)
|
||||
)
|
||||
|
||||
;; Org-yt para soportar embebidos.
|
||||
(use-package org-yt
|
||||
:elpaca (:host github :repo "TobiasZawada/org-yt")
|
||||
:config
|
||||
(defun org-http-image-data-fn (protocol link _description)
|
||||
"Interpret LINK as an URL to an image file."
|
||||
(when (and (image-type-from-file-name link)
|
||||
@ -165,6 +153,12 @@
|
||||
(buffer-substring-no-properties (point) (point-max)))
|
||||
(message "Download of image \"%s\" failed" link)
|
||||
nil)))
|
||||
)
|
||||
|
||||
;; Org-yt para soportar embebidos.
|
||||
(use-package org-yt
|
||||
:elpaca (:host github :repo "TobiasZawada/org-yt")
|
||||
:config
|
||||
(org-link-set-parameters "http" :image-data-fun #'org-http-image-data-fn)
|
||||
(org-link-set-parameters "https" :image-data-fun #'org-http-image-data-fn)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user