summary refs log tree commit diff stats
path: root/config.org
diff options
context:
space:
mode:
authorCase Duckworth2020-12-16 08:22:34 -0600
committerCase Duckworth2020-12-16 08:22:34 -0600
commit2b36b61b94e7ef0fea08a30669b7578e3bcefe74 (patch)
tree2b0cbfa6b0d1b72e4916017c6511e04d35f85ac6 /config.org
parentAdd ox-gemini (diff)
downloademacs-2b36b61b94e7ef0fea08a30669b7578e3bcefe74.tar.gz
emacs-2b36b61b94e7ef0fea08a30669b7578e3bcefe74.zip
Add nov.el
Diffstat (limited to 'config.org')
-rw-r--r--config.org29
1 files changed, 29 insertions, 0 deletions
diff --git a/config.org b/config.org index 8aba561..d455af0 100644 --- a/config.org +++ b/config.org
@@ -1173,6 +1173,35 @@ from [[https://karthinks.com/software/more-batteries-included-with-emacs/#regexp
1173 ("." . browse-url-generic)))) 1173 ("." . browse-url-generic))))
1174#+end_src 1174#+end_src
1175 1175
1176** Reading e-books
1177
1178#+begin_src emacs-lisp
1179 (use-package nov
1180 :mode ("\\.epub\\'" . nov-mode)
1181 :init
1182 (defun acdw/setup-nov-mode ()
1183 (visual-line-mode +1)
1184 (visual-fill-column-mode +1)
1185 (variable-pitch-mode +1))
1186 :config
1187 (cuss nov-text-width t)
1188 :hook
1189 (nov-mode-hook . acdw/setup-nov-mode))
1190#+end_src
1191
1192** Eshell
1193
1194#+begin_src emacs-lisp
1195 (when (executable-find "bash")
1196 (use-package bash-completion))
1197
1198 (when (executable-find "fish")
1199 (use-package fish-completion
1200 :config
1201 (cuss fish-completion-fallback-on-bash-p (executable-find "bash"))
1202 (global-fish-completion-mode +1)))
1203#+end_src
1204
1176* Appendices 1205* Appendices
1177 1206
1178** Emacs' files 1207** Emacs' files