summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-04-27 16:21:10 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2022-04-27 16:21:10 +0200
commita37d7272a5fa45bcba106f5ba2fb8867f6153ec7 (patch)
tree63e79efcc72317298f31f68557b89711d26200b9 /README.org
parente94d9a24eb463971376864da7ed1bc4faacb5dfc (diff)
README update
Diffstat (limited to 'README.org')
-rw-r--r--README.org25
1 files changed, 16 insertions, 9 deletions
diff --git a/README.org b/README.org
index 143d934..ac2f841 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