From b0aecd933035a714a77e710f9963676341ea1ef0 Mon Sep 17 00:00:00 2001 From: Marc Date: Thu, 29 May 2025 06:32:08 +0200 Subject: [PATCH] added dabbrev config --- config.org | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 0eed305..7943145 100644 --- a/config.org +++ b/config.org @@ -807,7 +807,18 @@ Completion ui for the buffer. ;; enable indentation + completion using TAB (setq tab-always-indent 'complete)) #+end_src - +* Dabbrev +#+begin_src emacs-lisp +(use-package dabbrev + :ensure nil + :bind (("M-/" . dabbrev-completion) + ("C-M-/" . dabbrev-expand)) + :config + (add-to-list 'dabbrev-ignored-buffer-regexps "\\` ") + (add-to-list 'dabbrev-ignored-buffer-modes 'doc-view-mode) + (add-to-list 'dabbrev-ignored-buffer-modes 'pdf-view-mode) + (add-to-list 'dabbrev-ignored-buffer-modes 'tags-table-mode)) +#+end_src * Cape [[https://github.com/minad/cape][Cape Github]] Backend completions for the buffer (not minibuffer).