From 5ca6bcbcc3489885960953cadca7a125a2eb8165 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 19 Jul 2022 16:03:49 +0100 Subject: Use fancy-dabbrev-expand --- .emacs.d/lisp/init-completion.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to '.emacs.d/lisp/init-completion.el') 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 -- cgit 1.4.1-2-gfad0