about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org7
1 files changed, 3 insertions, 4 deletions
diff --git a/config.org b/config.org index 481e61a..7fc3a59 100644 --- a/config.org +++ b/config.org
@@ -1576,14 +1576,13 @@ don't know if it's that useful.
1576 (add-hook 'text-mode-hook #'hook--wc-mode-no-keybinds) 1576 (add-hook 'text-mode-hook #'hook--wc-mode-no-keybinds)
1577#+end_src 1577#+end_src
1578 1578
1579*** Keybinding :crux: 1579*** Keybinding
1580 1580
1581I just found out that =M-== counts the words in a region. That's great, but I 1581I just found out that =M-== counts the words in a region. That's great, but I
1582often want to count the words in the whole buffer. Enter 1582often want to count the words in the whole buffer.
1583=crux-with-region-or-buffer=. I could change the binding. .... but I don't want to.
1584 1583
1585#+begin_src emacs-lisp :noweb-ref bindings 1584#+begin_src emacs-lisp :noweb-ref bindings
1586 (crux-with-region-or-buffer count-words-region) 1585 (define-key acdw/map (kbd "M-=") #'count-words)
1587#+end_src 1586#+end_src
1588 1587
1589** Spell checking 1588** Spell checking