Corfu popup on terminal
  • Emacs Lisp 100%
Find a file
2022-05-29 17:01:36 +06:00
.elpaignore Don't ship images in packages 2022-05-21 13:31:01 +06:00
COPYING Add COPYING 2022-04-15 12:49:42 +06:00
corfu-popup.el Add user option to disable on GUI 2022-05-21 17:57:33 +06:00
corfu-terminal.el Bump version to 0.3 2022-05-29 17:01:36 +06:00
demo-colorterm.png Update terminal screenshots 2022-05-14 17:56:19 +06:00
demo-gui.png Add some screenshots 2022-05-07 18:42:33 +06:00
demo-tty.png Update terminal screenshots 2022-05-14 17:56:19 +06:00
README.org Add installation instruction for package.el 2022-05-23 21:45:04 +06:00

corfu-terminal - Corfu popup on terminal

Corfu uses child frames to display candidates. This makes Corfu unusable on terminal. This package replaces that with popup/popon, which works everywhere.

GUI Terminal (Colorterm) TTY (with face customizations)
/jgart/emacs-corfu-terminal/media/branch/master/demo-gui.png /jgart/emacs-corfu-terminal/media/branch/master/demo-colorterm.png /jgart/emacs-corfu-terminal/media/branch/master/demo-tty.png

Note: The above screenshots were taken with kind-icon enabled. And the TTY screenshot isn't a screenshot of a real TTY, it was emulated on a terminal emulator with TERM=linux and COLORTERM=, and the Corfu faces were modified to make the popup/popon visible on TTY.

Installation

Package

Install from NonGNU ELPA.

Quelpa

(quelpa '(corfu-terminal
          :fetcher git
          :url "https://codeberg.org/akib/emacs-corfu-terminal.git"))

Straight.el

(straight-use-package
 '(corfu-terminal
   :type git
   :repo "https://codeberg.org/akib/emacs-corfu-terminal.git"))

Manual

Download the corfu-terminal.el file and put it in your load-path.

Usage

Enable the global minor mode M-x corfu-terminal-mode to enable it. You'll probably want to enable it only on terminal. In that case, put the following in your init file:

(unless (display-graphic-p)
  (corfu-terminal-mode +1))