emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Re: discoverability, better defaults and which-key in E


From: Drew Adams
Subject: RE: [External] : Re: discoverability, better defaults and which-key in Emacs
Date: Sat, 3 Feb 2024 16:58:19 +0000

Not to distract, but FYI library `keysee.el' is
an alternative to which-key.  Less known, some
differences, maybe worth checking out.

In particular, it lets you sort key-completion
candidates in different ways interactively: 

 - By key name alphabetically, prefix keys first

 - By key name alphabetically, local keys first

 - By command name alphabetically

 - Off (no sorting)

You can cycle among them during completion using
`C-,` (default of option `sorti-sort-cycle-key').

(You can cycle among key choices with `TAB', per
standard option `completion-cycle-threshold'.) 

Two global minor modes:

 - `kc-mode': on-demand completion with `S-TAB'
   (default of option `kc-completion-keys')

 - `kc-auto-mode': completion after idle delay
   (also turns on/off `kc-mode', for on-demand)

Both provide (1) top-level completion (on-demand:
`S-TAB'), which shows you the keys available in
the current context, and (2) completion after a
prefix key.

For top-level completion, choose the keymaps in
which to bind `S-TAB' for key completion, using
option `kc-keymaps-for-key-completion'.

keysee.el uses sortie.el, which provides general
interactive sorting of completion candidates
(usable for any completion).
___

https://www.emacswiki.org/emacs/KeySee

https://www.emacswiki.org/emacs/download/keysee.el
___

https://www.emacswiki.org/emacs/Sortie

https://www.emacswiki.org/emacs/download/sortie.el




reply via email to

[Prev in Thread] Current Thread [Next in Thread]