Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Show last used options on top #1674

Closed
maximvl opened this issue Jul 19, 2018 · 6 comments
Closed

[feature request] Show last used options on top #1674

maximvl opened this issue Jul 19, 2018 · 6 comments

Comments

@maximvl
Copy link

maximvl commented Jul 19, 2018

Hi guys, great stuff you are doing here, though I have an issue compared to other command completion tools - I can't make counsel show last used commands on top, which would be super useful for me.
Currently I always get a completely useless alphabetically sorted list:

image

Is it possible to enable such feature or does it require some development? Thanks!

@basil-conto
Copy link
Collaborator

basil-conto commented Jul 19, 2018

Have you tried installing smex or its more actively maintained fork amx? counsel-M-x automagically integrates with either package when detected so that your more frequently used commands are sorted first.

@maximvl
Copy link
Author

maximvl commented Jul 20, 2018

@basil-conto Hi, just tried, looks like it works, thanks a lot! (maybe worth adding this into docs or something?)

@basil-conto
Copy link
Collaborator

It's mentioned in the FAQ: https://github.com/abo-abo/swiper/wiki/FAQ#sorting-commands-by-frequency

and also in the docstring of C-hfcounsel-M-xRET.

A lot of Counsel functionality can be better or more prominently documented, so I'm not sure this issue should be left open as a reminder for that. It's @abo-abo's call, though. Feel free to send PRs with documentation suggestions (I'm currently AFK).

@maximvl
Copy link
Author

maximvl commented Jul 23, 2018

@basil-conto I was looking into these docs here: https://oremacs.com/swiper/

@basil-conto
Copy link
Collaborator

Looking into them with an eye to extend them or what?

@maximvl
Copy link
Author

maximvl commented Oct 17, 2018

@basil-conto sorry, I meant in the docs on oremacs.com/swiper there is no mention about smex/amx integration :)

@maximvl maximvl closed this as completed Oct 17, 2018
astoff pushed a commit to astoff/swiper that referenced this issue Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants