From d5373be3d898744fb1494a4dd3223faec5a6f78c Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Sat, 20 Mar 2021 11:12:10 +0100 Subject: [PATCH] config/doom: add bibleserver snippets --- .config/doom/config.el | 12 +++++++----- .../doom/snippets/org-mode/bibleserver-slt-reference | 5 +++++ .../org-mode/bibleserver-slt-reference-verse | 6 ++++++ .config/doom/snippets/org-mode/superscript-reference | 2 +- 4 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 .config/doom/snippets/org-mode/bibleserver-slt-reference create mode 100644 .config/doom/snippets/org-mode/bibleserver-slt-reference-verse diff --git a/.config/doom/config.el b/.config/doom/config.el index f089891..38fc12f 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -25,8 +25,8 @@ ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: (setq doom-theme 'doom-one - doom-font (font-spec :family "monospace" :size 20 :weight 'semi-light) - doom-variable-pitch-font (font-spec :family "sans" :size 20)) + doom-font (font-spec :family "monospace" :size 24 :weight 'semi-light) + doom-variable-pitch-font (font-spec :family "sans" :size 24)) (setq display-line-numbers-type 'relative) @@ -58,6 +58,8 @@ (setq eww-search-prefix "https://safe.duckduckgo.com/html/?q=") +(setq lazy-highlight-cleanup nil) + ;; Backups & auto-saves (setq auto-save-default t auto-save-interval 40) @@ -100,10 +102,10 @@ ;; Exporting - https://orgmode.org/manual/Export-Settings.html (setq org-latex-pdf-process '("latexmk -outdir=/tmp/latexmk -f -pdf %F; mv %f /tmp/latexmk; mv /tmp/latexmk/%b.pdf %o")) ; https://emacs.stackexchange.com/a/48351 -(setq org-latex-packages-alist '(("margin=3cm" "geometry") ("avoid-all" "widows-and-orphans"))) -(setq org-export-with-sub-superscripts '{}) +(setq org-latex-packages-alist '(("margin=2cm" "geometry") ("avoid-all" "widows-and-orphans"))) (setq org-export-with-tags nil) -(setq org-export-with-tasks nil) +(setq org-export-with-tasks 'done) +(setq org-export-with-todo-keywords nil) ;; Org startup - https://orgmode.org/manual/In_002dbuffer-Settings.html (setq org-startup-folded 'show2levels) diff --git a/.config/doom/snippets/org-mode/bibleserver-slt-reference b/.config/doom/snippets/org-mode/bibleserver-slt-reference new file mode 100644 index 0000000..a145e3f --- /dev/null +++ b/.config/doom/snippets/org-mode/bibleserver-slt-reference @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: Org Reference Bibleserver +# key: b +# -- +[[https://www.bibleserver.com/SLT.KJV/$1[$1]$0 diff --git a/.config/doom/snippets/org-mode/bibleserver-slt-reference-verse b/.config/doom/snippets/org-mode/bibleserver-slt-reference-verse new file mode 100644 index 0000000..dd70bb7 --- /dev/null +++ b/.config/doom/snippets/org-mode/bibleserver-slt-reference-verse @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Org Reference Bibleserver Verse +# key: bv +# binding: C-c C-c b +# -- +^{[[https://www.bibleserver.com/SLT.KJV/$1$2[$2]}$0 diff --git a/.config/doom/snippets/org-mode/superscript-reference b/.config/doom/snippets/org-mode/superscript-reference index c085369..988d42d 100644 --- a/.config/doom/snippets/org-mode/superscript-reference +++ b/.config/doom/snippets/org-mode/superscript-reference @@ -2,4 +2,4 @@ # name: org-superscript-reference # key: ^ # -- -^{[$0]} +^{$1}$0