config/doom: add bibleserver snippets

This commit is contained in:
xerus2000 2021-03-20 11:12:10 +01:00
parent 7289de5e10
commit d5373be3d8
4 changed files with 19 additions and 6 deletions

View File

@ -25,8 +25,8 @@
;; available. You can either set `doom-theme' or manually load a theme with the ;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default: ;; `load-theme' function. This is the default:
(setq doom-theme 'doom-one (setq doom-theme 'doom-one
doom-font (font-spec :family "monospace" :size 20 :weight 'semi-light) doom-font (font-spec :family "monospace" :size 24 :weight 'semi-light)
doom-variable-pitch-font (font-spec :family "sans" :size 20)) doom-variable-pitch-font (font-spec :family "sans" :size 24))
(setq display-line-numbers-type 'relative) (setq display-line-numbers-type 'relative)
@ -58,6 +58,8 @@
(setq eww-search-prefix "https://safe.duckduckgo.com/html/?q=") (setq eww-search-prefix "https://safe.duckduckgo.com/html/?q=")
(setq lazy-highlight-cleanup nil)
;; Backups & auto-saves ;; Backups & auto-saves
(setq auto-save-default t (setq auto-save-default t
auto-save-interval 40) auto-save-interval 40)
@ -100,10 +102,10 @@
;; Exporting - https://orgmode.org/manual/Export-Settings.html ;; 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-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-latex-packages-alist '(("margin=2cm" "geometry") ("avoid-all" "widows-and-orphans")))
(setq org-export-with-sub-superscripts '{})
(setq org-export-with-tags nil) (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 ;; Org startup - https://orgmode.org/manual/In_002dbuffer-Settings.html
(setq org-startup-folded 'show2levels) (setq org-startup-folded 'show2levels)

View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: Org Reference Bibleserver
# key: b
# --
[[https://www.bibleserver.com/SLT.KJV/$1[$1]$0

View File

@ -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

View File

@ -2,4 +2,4 @@
# name: org-superscript-reference # name: org-superscript-reference
# key: ^ # key: ^
# -- # --
^{[$0]} ^{$1}$0