2021-06-22 05:17:38 +00:00
#+TITLE : compleseus layer
2021-07-28 13:13:07 +00:00
2021-06-22 05:17:38 +00:00
#+TAGS : completion|layer
2021-07-28 13:13:07 +00:00
* Table of Contents :TOC_5_gh:noexport:
2021-06-22 05:17:38 +00:00
- [[#description ][Description ]]
- [[#features ][Features: ]]
- [[#install ][Install ]]
2021-10-04 23:28:04 +00:00
- [[#configuration ][Configuration ]]
2021-06-22 05:17:38 +00:00
- [[#key-bindings ][Key bindings ]]
* Description
2021-10-04 23:28:04 +00:00
This layer adds a new way of completion provided by the following core packages:
2021-06-22 05:17:38 +00:00
- =consult=
- =embark=
- =marginalia=
- =orderless=
- =selectrum= or =vertico=
This is an WIP and only supports emacs 27 or later. Please contribute.
** Features:
2021-07-28 13:13:07 +00:00
- Same features as =ivy= or =helm=
2021-06-22 05:17:38 +00:00
* Install
To use this configuration layer, add it to your =~/.spacemacs= . You will need to
add =compleseus= to the existing =dotspacemacs-configuration-layers= list in this
file.
2021-07-26 13:49:42 +00:00
Make sure that the other completion layers: =helm= and =ivy= are removed or
commented out in the =dotspacemacs-configuration-layers= list. Or add
=compleseus= below the other completion layers. Spacemacs uses the completion
layer that's listed last.
2021-10-04 23:28:04 +00:00
** Configuration
You can configure the completion engine by setting =compleseus-engine= to either =vertico= (default) or =selectrum= by editing the =compleseus-engine= variable like below to use =selectrun as opposed to the default of =vertico= :
#+BEGIN_SRC emacs-lisp
(compleseus :variables compleseus-engine 'selectrum)
#+END_SRC
2021-06-22 05:17:38 +00:00
* Key bindings
2021-07-28 13:13:07 +00:00
| Key binding | Description |
2021-06-22 05:17:38 +00:00
|-------------+---------------|
| ~M-o~ | embark-action |
| ~C-r~ | history |