diff options
author | Case Duckworth | 2020-12-10 22:56:25 -0600 |
---|---|---|
committer | Case Duckworth | 2020-12-10 22:56:25 -0600 |
commit | 4f1426409c1c3734e7dfc3f1140fc3a39234ca63 (patch) | |
tree | 71a84e5be4eaa0b07ebfaf47ffec751dd88a20b8 | |
parent | Change `(…) form to (list …) (diff) | |
download | emacs-4f1426409c1c3734e7dfc3f1140fc3a39234ca63.tar.gz emacs-4f1426409c1c3734e7dfc3f1140fc3a39234ca63.zip |
Update README
-rw-r--r-- | README.md | 60 |
1 files changed, 47 insertions, 13 deletions
diff --git a/README.md b/README.md index 4b21784..242e159 100644 --- a/README.md +++ b/README.md | |||
@@ -7,19 +7,19 @@ Let’s configure Emacs using Org mode, they said. It’ll be fun, they said. | |||
7 | ## Correct `exec-path` | 7 | ## Correct `exec-path` |
8 | 8 | ||
9 | (let ((win-downloads "c:/Users/aduckworth/Downloads")) | 9 | (let ((win-downloads "c:/Users/aduckworth/Downloads")) |
10 | (dolist (path `(;; Linux | 10 | (dolist (path (list ;; Linux |
11 | ,(expand-file-name "bin" | 11 | (expand-file-name "bin" |
12 | user-emacs-directory) | 12 | user-emacs-directory) |
13 | ,(expand-file-name "~/bin") | 13 | (expand-file-name "~/bin") |
14 | ,(expand-file-name "~/.local/bin") | 14 | (expand-file-name "~/.local/bin") |
15 | ,(expand-file-name "~/Scripts") | 15 | (expand-file-name "~/Scripts") |
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" | 19 | (expand-file-name "PortableGit/bin" |
20 | win-downloads) | 20 | win-downloads) |
21 | ,(expand-file-name "PortableGit/usr/bin" | 21 | (expand-file-name "PortableGit/usr/bin" |
22 | win-downloads))) | 22 | win-downloads))) |
23 | (when (file-exists-p path) | 23 | (when (file-exists-p path) |
24 | (add-to-list 'exec-path path)))) | 24 | (add-to-list 'exec-path path)))) |
25 | 25 | ||
@@ -677,6 +677,22 @@ I add it to the `find-file-hook` *and* `before-save-hook` because I don't want t | |||
677 | (company-posframe-mode +1)) | 677 | (company-posframe-mode +1)) |
678 | 678 | ||
679 | 679 | ||
680 | ## Languages | ||
681 | |||
682 | |||
683 | ### Lua | ||
684 | |||
685 | (use-package lua-mode | ||
686 | :mode "\\.lua\\'" | ||
687 | :interpreter "lua") | ||
688 | |||
689 | |||
690 | ### Fennel | ||
691 | |||
692 | (use-package fennel-mode | ||
693 | :mode "\\.fnl\\'") | ||
694 | |||
695 | |||
680 | # Writing | 696 | # Writing |
681 | 697 | ||
682 | 698 | ||
@@ -947,6 +963,24 @@ from [unpackaged.el](https://github.com/alphapapa/unpackaged.el#ensure-blank-lin | |||
947 | (0x0-default-service 'ttm)) | 963 | (0x0-default-service 'ttm)) |
948 | 964 | ||
949 | 965 | ||
966 | ## Elfeed | ||
967 | |||
968 | inspired by ["Lazy Elfeed"](https://karthinks.com/software/lazy-elfeed/). | ||
969 | |||
970 | (use-package elfeed | ||
971 | :when (executable-find "curl") | ||
972 | :hook | ||
973 | (elfeed-show-mode . visual-fill-column-mode)) | ||
974 | |||
975 | (use-package elfeed-org | ||
976 | :custom | ||
977 | (rmh-elfeed-org-files | ||
978 | (list (expand-file-name "elfeed.org" | ||
979 | user-emacs-directory))) | ||
980 | :init | ||
981 | (elfeed-org)) | ||
982 | |||
983 | |||
950 | # Appendices | 984 | # Appendices |
951 | 985 | ||
952 | 986 | ||