diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-04-27 16:17:00 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-04-27 16:17:00 +0200 |
| commit | e94d9a24eb463971376864da7ed1bc4faacb5dfc (patch) | |
| tree | 5e0b1bd95cdfda6d9a8362e4277a82f02d0906d5 /README.org | |
| parent | aeb6697d95fd6575b5ba76bf9af10d4e35687b08 (diff) | |
README: Update configuration
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |
