Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm coming from Helm to Ivy just to try it out, and one thing I miss greatly from Helm is how the default candidate when hitting M-x is whatever the last command was.
Is there some way to sort Ivy's results by most-recently used?
Ivy re-uses the following packages if they are installed: avy, amx or smex, flx, and wgrep.
I would suggest using ivy-prescient. It is a package that provides sorting and filtering for ivy.
After installing it, you enable it with ivy-prescient-mode.
For more details on it's usage see its usage README section.
Required, but never shown