From a7b2f977a0a28f863a0cda9acf3777066f2de9ac Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 16 Dec 2020 08:23:21 -0600 Subject: Update README --- README.md | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- config.org | 2 +- 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. ;; Windows (expand-file-name "emacs/bin" win-downloads) - (expand-file-name "PortableGit/bin" - win-downloads) - (expand-file-name "PortableGit/usr/bin" - win-downloads) (expand-file-name "m/usr/bin" win-downloads) (expand-file-name "m/mingw64/bin" + win-downloads) + (expand-file-name "PortableGit/bin" + win-downloads) + (expand-file-name "PortableGit/usr/bin" win-downloads))) (when (file-exists-p path) (add-to-list 'exec-path path)))) @@ -420,6 +420,24 @@ from [Stack Overflow](https://stackoverflow.com/questions/23659909/reverse-evalu (" a" . consult-apropos)) :init (fset 'multi-occur #'consult-multi-occur)) + + (use-package consult-selectrum + :straight (consult-selectrum + :host github + :repo "minad/consult")) + + +## Marginalia + + (use-package marginalia + :straight (marginalia + :host github + :repo "minad/marginalia" + :branch "main") + :init + (marginalia-mode +1) + (cuss marginalia-annotators '(marginalia-annotators-heavy + marginalia-annotators-light))) ## Ignore case @@ -1015,6 +1033,14 @@ from [unpackaged.el](https://github.com/alphapapa/unpackaged.el#ensure-blank-lin :repo "https://alexschroeder.ch/cgit/gemini-write")) +### Ox-gemini + + (use-package ox-gemini + :straight (ox-gemini + :repo "https://git.sr.ht/~abrahms/ox-gemini" + :branch "main")) + + ## Pastebin (use-package 0x0 @@ -1073,6 +1099,33 @@ from [karthinks](https://karthinks.com/software/more-batteries-included-with-ema ("." . browse-url-generic)))) +## Reading e-books + + (use-package nov + :mode ("\\.epub\\'" . nov-mode) + :init + (defun acdw/setup-nov-mode () + (visual-line-mode +1) + (visual-fill-column-mode +1) + (variable-pitch-mode +1)) + :config + (cuss nov-text-width t) + :hook + (nov-mode-hook . acdw/setup-nov-mode)) + + +## Eshell + + (when (executable-find "bash") + (use-package bash-completion)) + + (when (executable-find "fish") + (use-package fish-completion + :config + (cuss fish-completion-fallback-on-bash-p (executable-find "bash")) + (global-fish-completion-mode +1))) + + # Appendices @@ -1105,9 +1158,9 @@ from [karthinks](https://karthinks.com/software/more-batteries-included-with-ema ## Ease tangling and loading of Emacs' init (defun refresh-emacs (&optional disable-load) - (interactive "P") "Tangle `config.org', then byte-compile the resulting files. Then, load the byte-compilations unless passed with a prefix argument." + (interactive "P") (let ((config (expand-file-name "config.org" user-emacs-directory))) (save-mark-and-excursion (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 @@ #+EXPORT_FILE_NAME: README.md #+OPTIONS: toc:nil #+BANKRUPTCY_COUNT: 3 -#+Time-stamp: <2020-12-12 12:37:04 acdw> +#+Time-stamp: <2020-12-16 08:20:58 acdw> Let’s configure Emacs using Org mode, they said. It’ll be fun, they said. -- cgit 1.4.1-21-gabe81