From 2df5881866e27016f2a89a4a04481f2fe9083c1f Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 7 May 2021 00:29:51 +0100 Subject: attic --- attic/misc.org | 21 +++++++++++++++++++++ completion.org | 20 -------------------- 2 files changed, 21 insertions(+), 20 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 diff --git a/completion.org b/completion.org index 8add146..6ab4ec8 100644 --- a/completion.org +++ b/completion.org @@ -70,26 +70,6 @@ (global-company-mode 1) #+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)) - - :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 * vertico #+begin_src emacs-lisp ;; (jao-load-path "vertico") -- cgit v1.2.3