Browse Source

added dabbrev config

master
Marc 1 week ago
parent
commit
b0aecd9330
1 changed files with 12 additions and 1 deletions
  1. 13
      config.org

13
config.org

@ -807,7 +807,18 @@ Completion ui for the buffer.
;; enable indentation + completion using TAB ;; enable indentation + completion using TAB
(setq tab-always-indent 'complete)) (setq tab-always-indent 'complete))
#+end_src #+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 * Cape
[[https://github.com/minad/cape][Cape Github]] [[https://github.com/minad/cape][Cape Github]]
Backend completions for the buffer (not minibuffer). Backend completions for the buffer (not minibuffer).

Loading…
Cancel
Save