config/doom: nov.el for ebooks

This commit is contained in:
xeruf 2021-05-31 18:48:18 +02:00
parent 044f6b7a66
commit 8facce2ba3
3 changed files with 6 additions and 2 deletions

View File

@ -390,7 +390,10 @@ Version 2019-11-04 2021-02-16"
:config :config
(add-to-list 'auto-mode-alist (cons "\\.adoc\\'" 'adoc-mode)) (add-to-list 'auto-mode-alist (cons "\\.adoc\\'" 'adoc-mode))
) )
(use-package! nov
:config
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
)
(use-package! lilypond-mode (use-package! lilypond-mode
:config :config
(setq LilyPond-pdf-command "xdg-open") (setq LilyPond-pdf-command "xdg-open")

View File

@ -58,6 +58,7 @@
(package! direnv) ; directory-local environment for haskell-nix things (package! direnv) ; directory-local environment for haskell-nix things
(package! plantuml-mode) ; Diagrams (package! plantuml-mode) ; Diagrams
(package! adoc-mode) ; Asciidoc, a md alternative (package! adoc-mode) ; Asciidoc, a md alternative
(package! nov) ; epub reader
(package! evil-tutor) (package! evil-tutor)

View File

@ -8,7 +8,7 @@ INTEREST $1
:Author: ${2:+} :Author: ${2:+}
:Buch7: https://www.buch7.de/suche?search=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&bindings%5B%5D=Taschenbuch&bindings%5B%5D=Gebunden&bindings%5B%5D=Leinen+%28Buchleinen%29&bindings%5B%5D=Softcover-Buch&items_per_page=50 :Buch7: https://www.buch7.de/suche?search=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&bindings%5B%5D=Taschenbuch&bindings%5B%5D=Gebunden&bindings%5B%5D=Leinen+%28Buchleinen%29&bindings%5B%5D=Softcover-Buch&items_per_page=50
:Amazon: https://smile.amazon.de/s?k=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&rh=n%3A186606 :Amazon: https://smile.amazon.de/s?k=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&rh=n%3A186606
:LibErlangen: https://stadtbibliothek-recherche.erlangen.de/Mediensuche/Einfache-Suche?search=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&top=y&facets=v_____Sachb%C3%BCcher%7CJugendsachbuch%7CJugendroman%7CBuch+Romane%7CSachb%C3%BCcher+Weih.%2fOst&facetsc=_____15 :LibErlangen: https://stadtbibliothek-recherche.erlangen.de/Mediensuche/Einfache-Suche?search=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&top=y&facets=v_____Sachb%C3%BCcher%7CJugendsachbuch%7CJugendroman%7CBuch+Romane%7CSachb%C3%BCcher+Weih.%2fOst&facetsc=_____15&pagesize=20
:Ebay: https://www.ebay.de/sch/i.html?_nkw=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&_sop=15 :Ebay: https://www.ebay.de/sch/i.html?_nkw=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&_sop=15
:gebraucht-kaufen: https://www.gebraucht-kaufen.de/f/search?query=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)} :gebraucht-kaufen: https://www.gebraucht-kaufen.de/f/search?query=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}
:END: :END: