swiper
Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man! (by abo-abo)
consult
:mag: consult.el - Consulting completing-read (by minad)
swiper | consult | |
---|---|---|
37 | 93 | |
2,356 | 1,426 | |
0.1% | 1.5% | |
8.0 | 9.4 | |
about 2 months ago | 8 days ago | |
Emacs Lisp | Emacs Lisp | |
- | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swiper
Posts with mentions or reviews of swiper.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-07-21.
- Increasing productivity by better managing multiple terminals in Emacs
- Flexible, simple tools for minibuffer completion in Emacs
- org attach multiple files with ivy-call
-
An Improved Emacs Search
This is a good improvement. Personally though I left isearch behind. For further search convenience / functionality I highly recommend swiper.
-
Best emacs configs for Javascript and/or users who don't like to memorize keybindings?
Next you "only" have to remember (elisp) function names. "Completion UIs" like ivy/counsel, icomplete, helm or vertico/consult, give you a nice auto completion list on M-x (choose the one of them, you like the most). Some of those Completion UIs will display existing keybindings and a short documentation for commands, near the auto complete candidates. So you will start to remember more keybindings without "learning sessions", just because invoking functions via keybindings is much faster (more convenient).
-
What packages do the cool kids use these days?
Proposal 4 (group-function). This one is an actual addition, which allows candidate gouping in the style of Helm. Note that it is a pure addition. Completion UIs and completion packages work perfectly fine without it. It wouldn't be difficult to add support to Ivy. I wrote the patch.
-
How to Make Emacs Look Cooler with Simple Customization
For the unfamiliar, Swiper is a part of Ivy which lets you search through your buffer with a preview of match candidates: you type some text you're looking for, and up pops a list of matching lines in the minibuffer that you can then use the arrow keys, C-n C-p etc. to scroll through and select the one you want.
-
Replacing packages with more "stripped down" packages
When I started using Emacs I was following the setup outlined by System Crafters, which I still think is a really good introduction. But, over the last few months I've started to replace packages with more "minimalist" or "stripped down" packages. I've switched from Ivy and Counsel to Vertico and Consult, and recently I switched from company to corfu for auto-completion.
-
macOS DWIM "Open with" command (ok, last one for a while)
Ah, neat. I hadn't considered appending comments for searchability. I'm currently getting searchabiity from M-x dwim-... and ivy completion.
-
How do you take book notes?
Great question. I have one big file with a few hundreds book and quotations from them. Problem is with newlines. When I copy text from kindle it doesn't have newlines because it's depends on font size. So every quotation from book is on one line - could be few thousands chars. I use visual-line-mode and there is a big problem with that. Like swiper would just freeze your emacs if you try to search. https://github.com/abo-abo/swiper/issues/925 Anyone have same problem?
consult
Posts with mentions or reviews of consult.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-12-28.
-
EmacsConf 2024 Notes
It’s very hard to describe without a visual but the gist of it is that the combination of the following 3 packages make it possible dynamically create queries, refine the results to precisely what you want, and then either perform some action on them or just plop them into a buffer for later use. There’s some notion of a type of the result, which means that the actions and results can be richer than just plaintext. Ie: you can imagine a query over a list of commits, where it displays while you’re searching as only the commit shortrev and subject, but where you can viably define a filter on the commit date or commit author. You can then export that list to a temporary buffer, and pressing enter on any given commit will show you the full diff and the full commit message.
https://github.com/minad/consult/
https://github.com/oantolin/orderless/
https://github.com/oantolin/embark/
-
Greppability is an underrated code metric
That's fair, I see many examples in this thread where people, like you, pass an exact string directly to grep. I'm an avid grepper, but my grep tool [1] translates spaces to ".*?", so I would just type "func lart(" in that example and it would work.
[1] https://github.com/minad/consult/blob/screenshots/consult-li...
-
Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
BTW, as an alternative to swiper, you can check out consult-line and related commands from consult.
-
Project grep search with folded results, navigable file preview, search term and results window retention?
Consult is what you are looking for: https://github.com/minad/consult In particular try consult-ripgrep
-
Emacs 29.1 Released
Emacs has code peek.
With lsp-mode it has that little window: https://emacs-lsp.github.io/lsp-ui/#lsp-ui-peek
Personally I use eglot with consult which temporarily switches the entire buffer to do the "peek" functionality rather than popping up a tiny window: https://github.com/minad/consult
-
Highlight multiple lines in consult-line
Thanks for working on this! I just added a consult--maybe-recenter function in a recent commit. This is a nice idea since it can reduce the jumpiness of Consult preview quite a bit.
-
Returning emacs user - what packages are common now?
An example relevant to your list would be some changes many people are taking with their completion framework - using package that leverage core emacs functionality rather than replacing it with a complete package that 'overrides' it. Consult, vertico, orderless and associate packages come to mind here. If you do a bit of a search you'll find plenty of info. Here is a video from Prot on the subject, but there are many others as well. I think Prot actually went on to write his own completion system to overlay native emacs functionality as well.
-
What's that email client doing here?
For the "lauch workspaces", I use burly which just uses simple bookmarks. Then with consult, I just use C-x b, then m to narrow to bookmarks and I have all the workspaces available (remote as well).
- What is wrong with this face definition??? (error "Invalid face" bookmark-menu-heading)
-
Why does elpaca make emacs startup so much faster?
Wow, interesting that my response is getting down voted. It seems not enough that I give away my work for free. Nevertheless I appreciate support from the community, as other Emacs package developers. The support is actually helpful. To clarify, publishing my configuration would translate into quite a bit of work, requiring separation of private and public bits.
What are some alternatives?
When comparing swiper and consult you can also consider the following projects:
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
helm - Emacs incremental completion and selection narrowing framework
Vim - The official Vim repository
consult-projectile
embark - Emacs Mini-Buffer Actions Rooted in Keymaps