summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-02-11 10:50:51 -0600
committerCase Duckworth2021-02-11 10:50:51 -0600
commit39fc75fb35b91bde11597af4ab2e7eab9ec07178 (patch)
tree8f3250edb9bcc51f6fb8fba8477e6de510aa4ea2
parentReplace selectrum/prescient with icomplete/orderless (diff)
parentAdd feed (diff)
downloademacs-39fc75fb35b91bde11597af4ab2e7eab9ec07178.tar.gz
emacs-39fc75fb35b91bde11597af4ab2e7eab9ec07178.zip
Merge branch 'main' of https://tildegit.org/acdw/emacs into main
-rw-r--r--config.org54
1 files changed, 37 insertions, 17 deletions
diff --git a/config.org b/config.org index 88949b9..64a6979 100644 --- a/config.org +++ b/config.org
@@ -531,8 +531,8 @@ I want the git version.
531 modus-themes-bold-constructs t 531 modus-themes-bold-constructs t
532 modus-themes-region 'bg-only 532 modus-themes-region 'bg-only
533 modus-themes-org-blocks 'grayscale 533 modus-themes-org-blocks 'grayscale
534 modus-themes-headings '((1 . line) 534 modus-themes-headings '((1 . section)
535 (t . t)) 535 (t . no-color))
536 modus-themes-scale-headings nil 536 modus-themes-scale-headings nil
537 modus-themes-mode-line 'borderless-3d) 537 modus-themes-mode-line 'borderless-3d)
538#+end_src 538#+end_src
@@ -1620,14 +1620,13 @@ don't know if it's that useful.
1620 (add-hook 'text-mode-hook #'hook--wc-mode-no-keybinds) 1620 (add-hook 'text-mode-hook #'hook--wc-mode-no-keybinds)
1621#+end_src 1621#+end_src
1622 1622
1623*** Keybinding :crux: 1623*** Keybinding
1624 1624
1625I just found out that =M-== counts the words in a region. That's great, but I 1625I just found out that =M-== counts the words in a region. That's great, but I
1626often want to count the words in the whole buffer. Enter 1626often want to count the words in the whole buffer.
1627=crux-with-region-or-buffer=. I could change the binding. .... but I don't want to.
1628 1627
1629#+begin_src emacs-lisp :noweb-ref bindings 1628#+begin_src emacs-lisp :noweb-ref bindings
1630 (crux-with-region-or-buffer count-words-region) 1629 (define-key acdw/map (kbd "M-=") #'count-words)
1631#+end_src 1630#+end_src
1632 1631
1633** Spell checking 1632** Spell checking
@@ -1685,10 +1684,27 @@ Display corrections with =completing-read=.
1685 #'(lambda () (blackout 'iscroll-mode))) 1684 #'(lambda () (blackout 'iscroll-mode)))
1686#+end_src 1685#+end_src
1687 1686
1688** TODO Reading mode 1687** Reading mode
1689 1688
1690A custom mode to make reading comfy 1689A custom mode to make reading comfy
1691 1690
1691#+begin_src emacs-lisp :noweb-ref modes
1692 (define-minor-mode acdw/reading-mode
1693 "Make reading comfier."
1694 :lighter " Read" ; later: book emoji
1695 (if acdw/reading-mode
1696 (progn ;; turn on
1697 (text-scale-increase +1)
1698 (visual-fill-column-mode +1)
1699 (iscroll-mode +1)
1700 (display-fill-column-indicator-mode -1))
1701 (progn ;; turn off
1702 (text-scale-increase 0)
1703 (visual-fill-column-mode -1)
1704 (iscroll-mode -1)
1705 (display-fill-column-indicator-mode +1))))
1706#+end_src
1707
1692* Programming 1708* Programming
1693 1709
1694** Comments 1710** Comments
@@ -2123,12 +2139,7 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast
2123#+end_src 2139#+end_src
2124 2140
2125#+begin_src emacs-lisp :noweb-ref hooks 2141#+begin_src emacs-lisp :noweb-ref hooks
2126 (defun hook--elfeed-show () 2142 (add-hook 'elfeed-show-mode-hook #'acdw/reading-mode)
2127 (text-scale-adjust +1)
2128 (visual-fill-column-mode +1)
2129 (iscroll-mode +1))
2130
2131 (add-hook 'elfeed-show-mode-hook #'hook--elfeed-show)
2132#+end_src 2143#+end_src
2133 2144
2134#+begin_src emacs-lisp :noweb-ref bindings 2145#+begin_src emacs-lisp :noweb-ref bindings
@@ -2140,6 +2151,8 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast
2140#+begin_src emacs-lisp :noweb-ref settings 2151#+begin_src emacs-lisp :noweb-ref settings
2141 (setq elfeed-feeds 2152 (setq elfeed-feeds
2142 `( 2153 `(
2154 ("https://blog.astrosnail.pt.eu.org/feed.atom" tech blags)
2155 ("https://www.greghendershott.com/feeds/all.atom.xml" tech blags)
2143 ("https://hans.gerwitz.com/feeds/writing.rss" fwends) 2156 ("https://hans.gerwitz.com/feeds/writing.rss" fwends)
2144 ("http://planet.lisp.org/rss20.xml" tech lisp) 2157 ("http://planet.lisp.org/rss20.xml" tech lisp)
2145 ("https://wflewis.com/feed.xml" blags fwends) 2158 ("https://wflewis.com/feed.xml" blags fwends)
@@ -2287,11 +2300,14 @@ others.
2287 (setq-default elpher-ipv4-always t) 2300 (setq-default elpher-ipv4-always t)
2288 2301
2289 (doremi-face-set 'elpher-gemini-heading1 2302 (doremi-face-set 'elpher-gemini-heading1
2290 '((t (:inherit (modus-theme-heading-1))))) 2303 '((t (:inherit (modus-theme-heading-1)
2304 :height 1.0))))
2291 (doremi-face-set 'elpher-gemini-heading2 2305 (doremi-face-set 'elpher-gemini-heading2
2292 '((t (:inherit (modus-theme-heading-2))))) 2306 '((t (:inherit (modus-theme-heading-2)
2307 :height 1.0))))
2293 (doremi-face-set 'elpher-gemini-heading3 2308 (doremi-face-set 'elpher-gemini-heading3
2294 '((t (:inherit (modus-theme-heading-3))))) 2309 '((t (:inherit (modus-theme-heading-3)
2310 :height 1.0))))
2295#+end_src 2311#+end_src
2296 2312
2297#+begin_src emacs-lisp :noweb-ref no-littering 2313#+begin_src emacs-lisp :noweb-ref no-littering
@@ -2308,6 +2324,10 @@ others.
2308 (define-key elpher-mode-map "G" #'elpher-go-current)) 2324 (define-key elpher-mode-map "G" #'elpher-go-current))
2309#+end_src 2325#+end_src
2310 2326
2327#+begin_src emacs-lisp :noweb-ref hooks
2328 (add-hook 'elpher-mode-hook #'acdw/reading-mode)
2329#+end_src
2330
2311*** Gemini-mode :package: 2331*** Gemini-mode :package:
2312 2332
2313#+begin_src emacs-lisp :noweb-ref packages 2333#+begin_src emacs-lisp :noweb-ref packages
@@ -2778,7 +2798,7 @@ TODO, and Diary.
2778 :empty-lines 1) 2798 :empty-lines 1)
2779 ;; Books to read 2799 ;; Books to read
2780 ("b" "Book to read" entry 2800 ("b" "Book to read" entry
2781 (file "books.org") 2801 (file+headline "books.org" "Later")
2782 "* TOREAD %^{Title} 2802 "* TOREAD %^{Title}
2783 :PROPERTIES: 2803 :PROPERTIES:
2784 :Author: %^{Author} 2804 :Author: %^{Author}