diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-07-19 16:03:49 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-07-19 16:03:49 +0100 |
commit | 5ca6bcbcc3489885960953cadca7a125a2eb8165 (patch) | |
tree | aefc6b02fa3a81d33f07ea5e630f92b9ac5e07b9 | |
parent | ef2eefa6d52d310862d530e552ed9dd3ace488b8 (diff) | |
download | dotfiles-5ca6bcbcc3489885960953cadca7a125a2eb8165.tar.gz |
Use fancy-dabbrev-expand
-rw-r--r-- | .emacs.d/lisp/init-completion.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.emacs.d/lisp/init-completion.el b/.emacs.d/lisp/init-completion.el index 6645319..862ee71 100644 --- a/.emacs.d/lisp/init-completion.el +++ b/.emacs.d/lisp/init-completion.el @@ -6,9 +6,10 @@ (use-package dabbrev :diminish - :custom (dabbrev-case-fold-search nil) - :bind - ("M-/" . dabbrev-completion)) + :custom + (setq dabbrev-case-distinction nil) + (setq dabbrev-case-fold-search t) + (setq dabbrev-case-replace nil)) (use-package hippie-expand :ensure nil @@ -37,7 +38,8 @@ (use-package fancy-dabbrev :diminish :config - (global-fancy-dabbrev-mode)) + (global-fancy-dabbrev-mode) + :bind ("M-/" . fancy-dabbrev-expand)) (use-package emacs :init |