diff options
-rw-r--r-- | config.org | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/config.org b/config.org index dcf05ec..aa75459 100644 --- a/config.org +++ b/config.org | |||
@@ -1551,7 +1551,9 @@ already commented. That's it. | |||
1551 | 1551 | ||
1552 | * Writing | 1552 | * Writing |
1553 | 1553 | ||
1554 | ** COMMENT Word count :package: | 1554 | ** Word count :package: |
1555 | |||
1556 | *** WC Mode | ||
1555 | 1557 | ||
1556 | I'm just going to comment this out for right now because I honestly | 1558 | I'm just going to comment this out for right now because I honestly |
1557 | don't know if it's that useful. | 1559 | don't know if it's that useful. |
@@ -1571,8 +1573,20 @@ don't know if it's that useful. | |||
1571 | (add-hook 'text-mode-hook #'hook--wc-mode-no-keybinds) | 1573 | (add-hook 'text-mode-hook #'hook--wc-mode-no-keybinds) |
1572 | #+end_src | 1574 | #+end_src |
1573 | 1575 | ||
1576 | *** Keybinding :crux: | ||
1577 | |||
1578 | I just found out that =M-== counts the words in a region. That's great, but I | ||
1579 | often want to count the words in the whole buffer. Enter | ||
1580 | =crux-with-region-or-buffer=. I could change the binding. .... but I don't want to. | ||
1581 | |||
1582 | #+begin_src emacs-lisp :noweb-ref bindings | ||
1583 | (crux-with-region-or-buffer count-words-region) | ||
1584 | #+end_src | ||
1585 | |||
1574 | ** Spell checking | 1586 | ** Spell checking |
1575 | 1587 | ||
1588 | *** Settings | ||
1589 | |||
1576 | Let's use =hunspell=. | 1590 | Let's use =hunspell=. |
1577 | 1591 | ||
1578 | #+begin_src emacs-lisp :noweb-ref packages | 1592 | #+begin_src emacs-lisp :noweb-ref packages |