Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.52 KB

README.org

File metadata and controls

44 lines (32 loc) · 1.52 KB

consult-company

MELPA

A consulting-read interface for company-mode.

https://user-images.githubusercontent.com/23294780/134369362-2737b57b-ba1c-4062-a063-ecb0ba785e13.png

Table of Contents

Installation

Manually

  1. Clone the repo.
  2. Add the repo path to your emacs load-path.
  3. Load it when needed.

From MELPA

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)

Usage

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.