diff options
-rw-r--r-- | config.org | 29 |
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 |