Emacs: Icomplete Mode
icomplete-mode enhances emacs's name completion when in minibuffer prompts.
icomplete mode is part of emacs.
icomplete does completion for any command that prompts for a list of choices. Here's some of them:
- Show choices.
- Select current choice.
- Next choice
- Previous choice
- Select current choice
Icomplete Mode Setup
(progn ;; minibuffer enhanced completion (require 'icomplete) (icomplete-mode 1) ;; show choices vertically (setq icomplete-separator "\n") (setq icomplete-hide-common-prefix nil) (setq icomplete-in-buffer t) (define-key icomplete-minibuffer-map (kbd "<right>") 'icomplete-forward-completions) (define-key icomplete-minibuffer-map (kbd "<left>") 'icomplete-backward-completions))
icomplete is written by Ken Manheimer, first released in 1993. (Ken Manheimer's home page: http://myriadicity.net/ • https://twitter.com/myriadicity )
See also: Emacs: icomplete vs ido mode