spacemacs/layers/+completion/compleseus
Daniel Nicolai d5b6df3584
Add commands to compleseus layer (locate, yasnippet, search from) (#15078)
* 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.
2021-11-02 22:50:32 +01:00
..
local/compleseus-spacemacs-help
config.el
funcs.el Add commands to compleseus layer (locate, yasnippet, search from) (#15078) 2021-11-02 22:50:32 +01:00
layers.el
packages.el Add commands to compleseus layer (locate, yasnippet, search from) (#15078) 2021-11-02 22:50:32 +01:00
README.org Add commands to compleseus layer (locate, yasnippet, search from) (#15078) 2021-11-02 22:50:32 +01:00

Compleseus layer

Description

This layer adds a new way of completion provided by the following core packages:

  • consult
  • embark
  • marginalia
  • orderless
  • selectrum or vertico

This is an WIP and only supports emacs 27 or later. Please contribute.

Features:

  • Same features as ivy or helm

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