summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-04-27 16:17:00 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2022-04-27 16:17:00 +0200
commite94d9a24eb463971376864da7ed1bc4faacb5dfc (patch)
tree5e0b1bd95cdfda6d9a8362e4277a82f02d0906d5 /README.org
parentaeb6697d95fd6575b5ba76bf9af10d4e35687b08 (diff)
README: Update configuration
Diffstat (limited to 'README.org')
-rw-r--r--README.org12
1 files changed, 8 insertions, 4 deletions
diff --git a/README.org b/README.org
index 2ea5c13..143d934 100644
--- a/README.org
+++ b/README.org
@@ -85,21 +85,25 @@ Here is an example configuration:
;; (corfu-echo-documentation nil) ;; Disable documentation in the echo area
;; (corfu-scroll-margin 5) ;; Use scroll margin
- ;; You may want to enable Corfu only for certain modes.
+ ;; Enable Corfu only for certain modes.
;; :hook ((prog-mode . corfu-mode)
;; (shell-mode . corfu-mode)
;; (eshell-mode . corfu-mode))
;; Recommended: Enable Corfu globally.
- ;; This is recommended since dabbrev can be used globally (M-/).
+ ;; This is recommended since Dabbrev can be used globally (M-/).
+ ;; See also `corfu-excluded-modes'.
:init
(global-corfu-mode))
- ;; Use dabbrev with Corfu!
+ ;; Use Dabbrev with Corfu!
(use-package dabbrev
;; Swap M-/ and C-M-/
:bind (("M-/" . dabbrev-completion)
- ("C-M-/" . dabbrev-expand)))
+ ("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