NonGNU-devel ELPA - corfu-terminal

corfu-terminal

Description
Corfu popup on terminal
Latest
corfu-terminal-0.7.0.20230810.20636.tar, 2023-Aug-10, 60.0 KiB
Maintainer
Akib Azmain Turja <akib@disroot.org>
Website
https://codeberg.org/akib/emacs-corfu-terminal
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package, run in Emacs:

M-x package-install RET corfu-terminal RET

Full description

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)
demo-gui.png demo-colorterm.png 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.

1 Installation

1.1 Package

Install from NonGNU ELPA.

1.2 Quelpa

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

1.3 Straight.el

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

1.4 Manual

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

2 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))

3 Complementary Packages

  • kind-icon: kind-icon adds an icon in front of each candidate describing the kind of the candidate.
  • corfu-doc and corfu-doc-terminal: corfu-doc show a documentation popup for the current candidate. corfu-doc-terminal provides a Popon (overlay) based display, so that you can use it on terminal.

Old versions

corfu-terminal-0.6.0.20230703.82950.tar.lz2023-Jul-0314.5 KiB
corfu-terminal-0.5.0.20230627.181047.tar.lz2023-Jun-2714.5 KiB
corfu-terminal-0.5.0.20221126.154620.tar.lz2022-Nov-2614.6 KiB
corfu-terminal-0.5.0.20221025.74339.tar.lz2022-Oct-2514.5 KiB
corfu-terminal-0.4.0.20220531.75054.tar.lz2022-May-3114.3 KiB
corfu-terminal-0.3.0.20220530.90150.tar.lz2022-May-3014.3 KiB
corfu-terminal-0.3.0.20220529.110136.tar.lz2022-May-2914.1 KiB
corfu-terminal-0.2.0.20220525.151952.tar.lz2022-May-2514.2 KiB
corfu-terminal-0.1.0.20220523.154504.tar.lz2022-May-2314.2 KiB
corfu-terminal-0.1.0.20220521.130710.tar.lz2022-May-2314.2 KiB