Compare commits
4 commits
d0657174dc
...
75bda91171
| Author | SHA1 | Date | |
|---|---|---|---|
| 75bda91171 | |||
| a68f566cd9 | |||
| a5efd66ec7 | |||
| 40d9146a45 |
1 changed files with 28 additions and 2 deletions
30
config.org
30
config.org
|
|
@ -450,9 +450,22 @@ C-c C-c to apply."
|
||||||
)
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Corfu
|
** In-buffer completion
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
*** Consult
|
||||||
|
|
||||||
|
#+BEGIN_SRC
|
||||||
|
(setq completion-in-region-function
|
||||||
|
(lambda (&rest args)
|
||||||
|
(apply (if vertico-mode
|
||||||
|
#'consult-completion-in-region
|
||||||
|
#'completion--in-region)
|
||||||
|
args)))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
*** Corfu
|
||||||
|
|
||||||
|
#+BEGIN_SRC
|
||||||
(use-package corfu
|
(use-package corfu
|
||||||
;; Optional customizations
|
;; Optional customizations
|
||||||
:custom
|
:custom
|
||||||
|
|
@ -478,6 +491,19 @@ C-c C-c to apply."
|
||||||
(global-corfu-mode))
|
(global-corfu-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
*** Company-mode
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package company
|
||||||
|
:config
|
||||||
|
(define-key prog-mode-map
|
||||||
|
(kbd "TAB")
|
||||||
|
#'company-indent-or-complete-common)
|
||||||
|
:init
|
||||||
|
(global-company-mode)
|
||||||
|
)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** Orderless
|
** Orderless
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue