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:
- Tab to show choices.
- Enter to select current choice.
- Ctrl+. → next choice
- Ctrl+, → previous choice
- Ctrl+j → 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))
See also: Emacs: icomplete vs ido mode
If you have a question, put $5 at patreon and message me.