* Add commands to compleseus+fasd layer (locate,yasnippet,search-from) * Add metadata classifier (for embark) to fasd-layer Embark uses metadata of the target under point to determine actions. If the target lacks a metadata classifier then the [embark documentation](https://github.com/oantolin/embark#acting-on-targets) recommends to [add them using the marginalia package](https://github.com/minad/marginalia#adding-custom-annotators-or-classifiers). This PR adds the file classifier to results for fasd searches.
1.5 KiB
Compleseus layer
Description
This layer adds a new way of completion provided by the following core packages:
consult
embark
marginalia
orderless
selectrum
orvertico
This is an WIP and only supports emacs 27 or later. Please contribute.
Features:
- Same features as
ivy
orhelm
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.
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.
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 selectrum
as opposed to the default of vertico
:
(compleseus :variables
compleseus-engine 'selectrum)
Key bindings
Key binding | Description |
---|---|
M-o |
embark-action |
C-r |
history |