about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README.md63
-rw-r--r--config.org2
2 files changed, 59 insertions, 6 deletions
diff --git a/README.md b/README.md index 1a6f121..f2923d1 100644 --- a/README.md +++ b/README.md
@@ -16,13 +16,13 @@ Let’s configure Emacs using Org mode, they said. It’ll be fun, they said.
16 ;; Windows 16 ;; Windows
17 (expand-file-name "emacs/bin" 17 (expand-file-name "emacs/bin"
18 win-downloads) 18 win-downloads)
19 (expand-file-name "PortableGit/bin"
20 win-downloads)
21 (expand-file-name "PortableGit/usr/bin"
22 win-downloads)
23 (expand-file-name "m/usr/bin" 19 (expand-file-name "m/usr/bin"
24 win-downloads) 20 win-downloads)
25 (expand-file-name "m/mingw64/bin" 21 (expand-file-name "m/mingw64/bin"
22 win-downloads)
23 (expand-file-name "PortableGit/bin"
24 win-downloads)
25 (expand-file-name "PortableGit/usr/bin"
26 win-downloads))) 26 win-downloads)))
27 (when (file-exists-p path) 27 (when (file-exists-p path)
28 (add-to-list 'exec-path path)))) 28 (add-to-list 'exec-path path))))
@@ -420,6 +420,24 @@ from [Stack Overflow](https://stackoverflow.com/questions/23659909/reverse-evalu
420 ("<help> a" . consult-apropos)) 420 ("<help> a" . consult-apropos))
421 :init 421 :init
422 (fset 'multi-occur #'consult-multi-occur)) 422 (fset 'multi-occur #'consult-multi-occur))
423
424 (use-package consult-selectrum
425 :straight (consult-selectrum
426 :host github
427 :repo "minad/consult"))
428
429
430## Marginalia
431
432 (use-package marginalia
433 :straight (marginalia
434 :host github
435 :repo "minad/marginalia"
436 :branch "main")
437 :init
438 (marginalia-mode +1)
439 (cuss marginalia-annotators '(marginalia-annotators-heavy
440 marginalia-annotators-light)))
423 441
424 442
425## Ignore case 443## Ignore case
@@ -1015,6 +1033,14 @@ from [unpackaged.el](https://github.com/alphapapa/unpackaged.el#ensure-blank-lin
1015 :repo "https://alexschroeder.ch/cgit/gemini-write")) 1033 :repo "https://alexschroeder.ch/cgit/gemini-write"))
1016 1034
1017 1035
1036### Ox-gemini
1037
1038 (use-package ox-gemini
1039 :straight (ox-gemini
1040 :repo "https://git.sr.ht/~abrahms/ox-gemini"
1041 :branch "main"))
1042
1043
1018## Pastebin 1044## Pastebin
1019 1045
1020 (use-package 0x0 1046 (use-package 0x0
@@ -1073,6 +1099,33 @@ from [karthinks](https://karthinks.com/software/more-batteries-included-with-ema
1073 ("." . browse-url-generic)))) 1099 ("." . browse-url-generic))))
1074 1100
1075 1101
1102## Reading e-books
1103
1104 (use-package nov
1105 :mode ("\\.epub\\'" . nov-mode)
1106 :init
1107 (defun acdw/setup-nov-mode ()
1108 (visual-line-mode +1)
1109 (visual-fill-column-mode +1)
1110 (variable-pitch-mode +1))
1111 :config
1112 (cuss nov-text-width t)
1113 :hook
1114 (nov-mode-hook . acdw/setup-nov-mode))
1115
1116
1117## Eshell
1118
1119 (when (executable-find "bash")
1120 (use-package bash-completion))
1121
1122 (when (executable-find "fish")
1123 (use-package fish-completion
1124 :config
1125 (cuss fish-completion-fallback-on-bash-p (executable-find "bash"))
1126 (global-fish-completion-mode +1)))
1127
1128
1076# Appendices 1129# Appendices
1077 1130
1078 1131
@@ -1105,9 +1158,9 @@ from [karthinks](https://karthinks.com/software/more-batteries-included-with-ema
1105## Ease tangling and loading of Emacs' init 1158## Ease tangling and loading of Emacs' init
1106 1159
1107 (defun refresh-emacs (&optional disable-load) 1160 (defun refresh-emacs (&optional disable-load)
1108 (interactive "P")
1109 "Tangle `config.org', then byte-compile the resulting files. 1161 "Tangle `config.org', then byte-compile the resulting files.
1110 Then, load the byte-compilations unless passed with a prefix argument." 1162 Then, load the byte-compilations unless passed with a prefix argument."
1163 (interactive "P")
1111 (let ((config (expand-file-name "config.org" user-emacs-directory))) 1164 (let ((config (expand-file-name "config.org" user-emacs-directory)))
1112 (save-mark-and-excursion 1165 (save-mark-and-excursion
1113 (with-current-buffer (find-file config) 1166 (with-current-buffer (find-file config)
diff --git a/config.org b/config.org index 9b8aa16..a01c872 100644 --- a/config.org +++ b/config.org
@@ -4,7 +4,7 @@
4#+EXPORT_FILE_NAME: README.md 4#+EXPORT_FILE_NAME: README.md
5#+OPTIONS: toc:nil 5#+OPTIONS: toc:nil
6#+BANKRUPTCY_COUNT: 3 6#+BANKRUPTCY_COUNT: 3
7#+Time-stamp: <2020-12-12 12:37:04 acdw> 7#+Time-stamp: <2020-12-16 08:20:58 acdw>
8 8
9Let’s configure Emacs using Org mode, they said. It’ll be fun, they said. 9Let’s configure Emacs using Org mode, they said. It’ll be fun, they said.
10 10