summaryrefslogtreecommitdiffhomepage
path: root/attic
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-05-07 00:29:51 +0100
committerjao <jao@gnu.org>2021-05-07 00:29:51 +0100
commit2df5881866e27016f2a89a4a04481f2fe9083c1f (patch)
treece148727c5a26bb8a3a486ce2b20e7e16e611459 /attic
parentb4c5fa1d4a166a84fa557d38f0644e2176b258f5 (diff)
downloadelibs-2df5881866e27016f2a89a4a04481f2fe9083c1f.tar.gz
elibs-2df5881866e27016f2a89a4a04481f2fe9083c1f.tar.bz2
attic
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