Type C-x C-f in a fresh Emacs and you get a single line in the minibuffer, a TAB key that pops up a *Completions* buffer, and no idea what matches until you ask. Every Emacs completion framework exists to fix that one experience, and the old Ivy vs Helm argument from a decade ago has since gained a third answer, Vertico, that most new configs now start with. This page compares them in the order you would try them: what is already built in, then the modern stack, then the two veterans.
The short recommendation, before the detail: use Vertico with Orderless, Marginalia and Consult in a new init.el. Read on for why, and for when Ivy or Helm still make sense.
What minibuffer completion does
Almost every interactive command that asks you to choose something (a file, a buffer, a command for M-x, a symbol for C-h f) calls one Emacs function: completing-read. It hands over a list of candidates and gets back one string.
Two separate things decide how that feels. The completion UI decides how candidates are displayed: a single line, a vertical list, a popup. The completion style decides which candidates match what you typed: prefix only, substrings, flexible fuzzy matching. Mixing those two ideas up is the main reason completion configs grow confusing, because some packages replace both, and some replace only one.
An Emacs completion framework that keeps completing-read intact can be swapped out later without rewriting the rest of your config. One that brings its own API ties the commands you use to that package.
Built in: fido-vertical-mode and icomplete-vertical-mode
Since Emacs 28 there are two vertical completion modes in Emacs itself. icomplete-vertical-mode shows matches as a vertical list as you type; fido-vertical-mode does the same with flex matching and keys that behave more like Ido.
(fido-vertical-mode 1)
That single line is a real improvement over the default, and it costs nothing. If you want a config with no third-party packages at all, stop here. The limits show up later: fewer annotations, less control over sorting, and no preview when you jump between buffers or lines.
That makes it a sensible first day for a brand-new config: the starter guide goes straight to Vertico, but swapping fido-vertical-mode for Vertico later is a two-line change either way. If the candidate list looks hard to read against your background, that is a face issue, and the themes page shows how to switch to a palette that styles the completion faces properly.
The Vertico stack
Vertico, by Daniel Mendler, is a vertical UI for completing-read and nothing else. It does not add commands and does not change matching. That narrow scope is the point: the other jobs are done by separate small packages that each plug into standard Emacs mechanisms.
- Orderless (Omar Antolín Camarena) is a completion style: type words in any order.
- Marginalia adds annotations next to candidates, such as docstrings for commands and sizes for files.
- Consult adds commands built on
completing-read:consult-buffer,consult-line,consult-ripgrepand many more, most with live preview. - Embark gives you a context menu of actions for whatever candidate is selected.
All five are on GNU ELPA, which Emacs enables by default, so no extra archive is needed. If use-package is new to you, the packages guide explains the form below.
(use-package vertico
:ensure t
:init (vertico-mode 1))
(use-package savehist
:init (savehist-mode 1))
(use-package orderless
:ensure t
:custom
(completion-styles '(orderless basic))
(completion-category-overrides '((file (styles partial-completion)))))
(use-package marginalia
:ensure t
:init (marginalia-mode 1))
(use-package consult
:ensure t
:bind (("C-x b" . consult-buffer)
("C-s" . consult-line)
("M-s r" . consult-ripgrep)))
(use-package embark
:ensure t
:bind (("C-." . embark-act)))
savehist-mode is built in and remembers minibuffer history between sessions, which Vertico uses to sort recent choices to the top. Binding consult-line to C-s replaces Isearch; if you prefer to keep Isearch, pick another key in the spirit of the keybindings guide.
Because every piece talks to standard interfaces, you can remove any one of them and the rest keep working. That is the main reason this Emacs completion framework won so many configs over: it is easy to understand and easy to debug.
Ivy, Counsel and Swiper
Ivy, by Oleh Krehel, was for years the lighter alternative to Helm. It comes in one repository with two companions: Counsel, which provides Ivy-powered versions of common commands, and Swiper, an in-buffer search that shows matching lines in the minibuffer.
(use-package counsel
:ensure t
:init
(ivy-mode 1)
(counsel-mode 1)
:bind (("C-s" . swiper)))
ivy-mode takes over completing-read, so ordinary commands get the Ivy UI. Counsel commands, though, are written against Ivy’s own ivy-read API, and that is where the Vertico vs Ivy difference lies in practice: Ivy’s extras only work inside Ivy, while Consult’s extras work with any UI that respects completing-read.
Ivy is still a fine choice if you already have a tuned config. Its development pace has slowed, and newer packages tend to target the standard interfaces first, so for a fresh start the Vertico vs Ivy question usually ends in favour of Vertico.
Helm and its long history
Helm is the oldest of the three. It grew out of anything.el and has been maintained for many years by Thierry Volpiatto. Helm is a complete environment rather than a thin layer: its own sources, its own actions menu, its own buffer that opens below the window, and a large set of commands such as helm-find-files and helm-occur.
(use-package helm
:ensure t
:init (helm-mode 1)
:bind (("M-x" . helm-M-x)
("C-x C-f" . helm-find-files)
("C-x b" . helm-mini)))
Helm is powerful, and people who learned it well rarely leave. The cost is size and a distinct way of working: Helm’s file browser behaves differently from the standard one, and many settings are Helm-specific. In the Ivy vs Helm debate, Ivy used to win on simplicity and Helm on features; Vertico now covers most of Helm’s features with Ivy’s simplicity.
Vertico, Ivy and Helm side by side
| Built-in vertical modes | Vertico stack | Ivy + Counsel + Swiper | Helm | |
|---|---|---|---|---|
Works with built-in completing-read |
Yes | Yes, UI only | Yes via ivy-mode; Counsel uses ivy-read |
Yes via helm-mode; own commands use Helm sources |
| Size of the package set | None | Five small packages | One repo, three packages | One large package |
| Configuration effort | One line | About 30 lines | About 10 lines | Small to start, large to tune |
| In-buffer search companion | Isearch | consult-line |
Swiper | helm-occur |
| Actions on a candidate | No | Embark | ivy-dispatching-done |
Helm actions (TAB) |
The table makes the Ivy vs Helm trade-off and the Vertico vs Ivy trade-off visible at once. The real dividing line is the first row: whether the package’s own commands depend on its own API.
Which Emacs completion framework to pick
For a new config, use the Vertico stack. It does the same job as Ivy or Helm, it stays close to how Emacs works anyway, and each package is small enough to read. Start with Vertico, Orderless and Marginalia, add Consult once you know which commands you want, and add Embark last.
Choose the built-in fido-vertical-mode if you want zero packages. Keep Ivy or Helm if you already rely on them; there is no urgent reason to migrate a config that works.
Moving an existing Ivy or Helm config to Vertico
If you do decide to switch, do it in one sitting rather than running two systems side by side. Two packages that both take over completing-read will fight, and the symptoms (a prompt that looks like Ivy in one command and like Vertico in the next) are confusing to debug.
Start by commenting out every ivy-mode, counsel-mode or helm-mode line and every binding that points at a counsel- or helm- command. Restart Emacs and confirm that plain M-x and C-x C-f work with the default UI. Then add Vertico and Orderless and check the same two commands again.
Most Counsel and Helm commands have a direct Consult counterpart. counsel-rg and helm-do-grep-ag become consult-ripgrep, swiper and helm-occur become consult-line, and counsel-imenu becomes consult-imenu. The buffer switcher consult-buffer also lists recent files and bookmarks, which covers what helm-mini did.
The habit that takes longest to unlearn is usually the action menu. Ivy users press M-o, Helm users press TAB; with Embark the equivalent is whatever key you bind to embark-act. Give it a week before you judge the new Emacs completion framework, because muscle memory, not features, decides how the first days feel.
In-buffer completion: Corfu or company-mode
Minibuffer completion is half the story. The other half is the popup that appears while you type code. Emacs has a built-in entry point for that, completion-at-point, which Eglot and most major modes feed.
Corfu, also by Daniel Mendler, is a popup UI for completion-at-point, the in-buffer counterpart to Vertico. company-mode is older, has its own backend system and works well in both graphical and terminal frames.
Corfu filters with the same completion styles you set for the minibuffer, so Orderless matching carries over to code completion if you want it. Many people prefer plain prefix matching in code, because it keeps the popup short and predictable; that is a per-mode setting, not a reason to choose one package over the other.
(use-package corfu
:ensure t
:custom (corfu-auto t)
:init (global-corfu-mode 1))
With Eglot, Corfu needs no glue code, which is why it fits the Python setup and the other language guides on this site. Corfu draws its popup with child frames, which work in a terminal only since Emacs 31. If you work mostly in a terminal on an older Emacs, use company-mode instead.
Questions readers ask
Is Ivy still maintained?
Ivy, Counsel and Swiper still receive fixes and are available from GNU ELPA, but development has slowed compared with the Vertico family. Existing Ivy configs keep working; for a new config the Vertico stack is the more active choice.
Can I use Consult without Vertico?
Yes. Consult commands call the standard completing-read, so they work with the default completion UI, with fido-vertical-mode, with Icomplete or with Vertico. Vertico simply gives them the nicest vertical list.
What does Orderless actually change?
Orderless is a completion style. It lets you type several space-separated pieces in any order, such as conf init to match init-config.el, and each piece can be a regexp, a literal or an initialism. It works with any UI that uses the standard completion styles.
Should I use Corfu or company-mode for code completion?
Corfu is smaller and uses the built-in completion-at-point machinery, so it pairs naturally with Eglot. company-mode has its own backend system and a longer track record. Both work well; pick Corfu for a new minimal config and keep company if you already have it tuned.
Do I need Embark?
No, but it is the piece people miss most once they have tried it. Embark lets you act on the current candidate (delete a file, kill a buffer, copy a path) without leaving the minibuffer. Add it after the rest of the stack feels comfortable.