A consulting-read interface for company-mode.
- Clone the repo.
- Add the repo path to your emacs
load-path
. - Load it when needed.
This package is on MELPA. You can add this to your package-archives
variable and
then install through M-x package-install
.
(push '("melpa" . "https://melpa.org/packages/") package-archives)
(package-refresh-contents)
(package-install 'consult-company)
I recommend remapping completion-at-point
to consult-company
in company-mode
buffers.
(define-key company-mode-map [remap completion-at-point] #'consult-company)
You can configure grouping and narrowing of company completion candidates through
consult-company-narrow
.