summaryrefslogtreecommitdiffhomepage
path: root/attic
diff options
context:
space:
mode:
Diffstat (limited to 'attic')
-rw-r--r--attic/misc.org21
1 files changed, 21 insertions, 0 deletions
diff --git a/attic/misc.org b/attic/misc.org
index f11d36c..cb98a99 100644
--- a/attic/misc.org
+++ b/attic/misc.org
@@ -99,3 +99,24 @@
'("ViewInBrowser" . mu4e-action-view-in-browser) t))
#+end_src
+* corfu and dabbrev
+ #+begin_src emacs-lisp :load no
+ (jao-load-path "corfu")
+ (use-package corfu
+
+ :init (setq corfu-cycle t
+ corfu-excluded-modes '(clojure-mode)
+ tab-always-indent 'complete)
+
+ :config
+ (corfu-global-mode)
+ (use-package dabbrev
+ ;; Swap M-/ and C-M-/
+ :bind (("M-/" . dabbrev-completion)
+ ("C-M-/" . dabbrev-expand)))
+
+ :bind (:map corfu-map
+ ("TAB" . corfu-next)
+ ("S-TAB" . corfu-previous)))
+
+ #+end_src