branch: externals/corfu
commit a37d7272a5fa45bcba106f5ba2fb8867f6153ec7
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    README update
---
 README.org | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/README.org b/README.org
index 143d93412d..ac2f841283 100644
--- a/README.org
+++ b/README.org
@@ -96,15 +96,6 @@ Here is an example configuration:
     :init
     (global-corfu-mode))
 
-  ;; Use Dabbrev with Corfu!
-  (use-package dabbrev
-    ;; Swap M-/ and C-M-/
-    :bind (("M-/" . dabbrev-completion)
-           ("C-M-/" . dabbrev-expand))
-    ;; Other useful Dabbrev configurations.
-    :custom
-    (dabbrev-ignored-buffer-regexps '("\\.\\(?:pdf\\|jpe?g\\|png\\)\\'")))
-
   ;; A few more useful configurations...
   (use-package emacs
     :init
@@ -121,6 +112,22 @@ Here is an example configuration:
     (setq tab-always-indent 'complete))
 #+end_src
 
+Dabbrev completion is based on =completion-in-region= and can be used with 
Corfu.
+You may want to swap the =dabbrev-completion= with the =dabbrev-expand= key for
+easier access, if you prefer completion. Also take a look at the =cape-dabbrev=
+completion at point function provided by my 
[[https://github.com/minad/cape][Cape]] package.
+
+#+begin_src emacs-lisp
+  ;; Use Dabbrev with Corfu!
+  (use-package dabbrev
+    ;; Swap M-/ and C-M-/
+    :bind (("M-/" . dabbrev-completion)
+           ("C-M-/" . dabbrev-expand))
+    ;; Other useful Dabbrev configurations.
+    :custom
+    (dabbrev-ignored-buffer-regexps '("\\.\\(?:pdf\\|jpe?g\\|png\\)\\'")))
+#+end_src
+
 If you start to configure the package more deeply, I recommend to give the
 Orderless completion style a try for filtering. Orderless completion is
 different from the familiar prefix TAB completion. Corfu can be used with the

Reply via email to