danilevy1212 / consult-company

A consulting-read interface for company.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A consulting-read interface for company.

License:Other


Languages

Language:Emacs Lisp 100.0%