aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-09-18 17:26:34 -0700
committerGravatar Tom Willemse2026-09-18 17:26:34 -0700
commitd336548758f00ee28a3e1071869ca66f42dc73f0 (patch)
treef0339347db33cf631eb191dc49d5acd78098bf54
parentd0fa64432820ca388c0b9818ee54c8dab0adde64 (diff)
downloadnew-dotfiles-d336548758f00ee28a3e1071869ca66f42dc73f0.tar.gz
new-dotfiles-d336548758f00ee28a3e1071869ca66f42dc73f0.zip
emacs: Add dabbrev settings
-rw-r--r--emacs/.emacs.d/init.org13
1 files changed, 13 insertions, 0 deletions
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