From d336548758f00ee28a3e1071869ca66f42dc73f0 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 18 Sep 2026 17:26:34 -0700 Subject: emacs: Add dabbrev settings --- emacs/.emacs.d/init.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index ad238e9..976721a 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1410,3 +1410,16 @@ I need to try taking notes with Denote. (setq denote-directory (expand-file-name "~/Documents/denote-notes/")) (denote-rename-buffer-mode 1)) #+end_src + +* Dabbrev + +Dynamic abbreviations are one of the completion mechanisms that Emacs supports. I mainly use this with corfu and cape-dabbrev, but when I'm looking for completions I want to see any variant with different letter casings, and also maintain the letter casing of which option I pick. + +#+begin_src emacs-lisp + (use-package dabbrev + :ensure nil + :config + (setq dabbrev-case-replace nil) + (setq dabbrev-case-distinction nil) + (setq dabbrev-case-fold-search t)) +#+end_src -- cgit v1.3-2-g0d8e