marginalia VS swiper

Compare marginalia vs swiper and see what are their differences.

marginalia

:scroll: marginalia.el - Marginalia in the minibuffer (by minad)

swiper

Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man! (by abo-abo)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
marginalia swiper
27 36
704 2,250
- -
7.2 7.3
26 days ago 2 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.

marginalia

Posts with mentions or reviews of marginalia. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-04.
  • Emacs Commands I Got by with for Years
    7 projects | news.ycombinator.com | 4 Jan 2024
    Check out marginalia[1]. Whenever you press M-x, it will pop up a buffer showing all the commands (with most recent ones on top) along with their keybindings and a brief description of what they do.

    Embark[2] is also cool. It will show all the possible commands relevant to where the cursor is at that moment. I bind it to C-c a.

    [1] https://github.com/minad/marginalia

  • Packages that you would like to be in emacs core ?
    10 projects | /r/emacs | 11 Dec 2023
    Then there is Marginalia which is IMO essential
  • Emacs Advent Calendar 7: ordeless, embark 1.0 and some bric-a-brac
    9 projects | /r/emacs | 7 Dec 2023
    marginalia. Informative annotations for minibuffer completion candidates, co-written with u/minad-emacs.
  • Why does elpaca make emacs startup so much faster?
    9 projects | /r/emacs | 23 Apr 2023
    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.
  • Doom -> vanilla emacs 29
    8 projects | /r/emacs | 14 Apr 2023
    marginalia for extra info in the minibuffer
  • (void-variable string-width) error by consult-buffer
    2 projects | /r/emacs | 10 Apr 2023
    There seems to be some problem with straight not correctly installing or updating compat. See these issues on Marginalia and Embark where straight seems to not install Compat.
  • What does Vertico offer over icomplete-vertical?
    2 projects | /r/emacs | 24 Feb 2023
    Note that I contribute to Emacs core itself from time to time but the process is discussion-heavy and thus time consuming. If you are familiar with the completing-read API, you may know the annotation-function of completion tables. The name already tells that this function just adds annotations to the completion candidates. The Marginalia package (written by /u/oantolin and me) provides such annotations. A similar function is the group-function, which groups candidates in subsets and adds titles above the subsets. I wrote the patch which added this feature to Emacs. It is now supported by default completion, Icomplete, Vertico and maybe other UIs. The initial implementation was done in the earlier Selectrum package, and a little later in Vertico.
  • [ANN] Vertico 1.0 and Marginalia 1.0
    3 projects | /r/emacs | 22 Dec 2022
    At the end of the year, I am happy to announce the stable Vertico 1.0 and Marginalia 1.0 releases. Vertico is a minimalist, yet flexible and responsive vertical completion UI. Marginalia provides helpful annotations for many completion contexts. Both packages have been solid for a while but I rather let things mature slowly. These releases finally put the stamp "stable" on these two packages. I expect the other members of the package suite to follow soon after. Both packages have been updated recently to support the newest Emacs 29 features. They are compatible with Emacs 27, 28 and the upcoming 29.
  • org-cc: Custom completions for Org (WIP)
    9 projects | /r/emacs | 22 Nov 2022
    I) I started out trying to implement this using marginalia, like the consult commands, but quickly concluded that this wasn't the way to go here... please correct me if I'm wrong and there is more from these packages I could make use of. I also try to make use of as much of the citar codebase as possible, but have found it difficult so far: a lot seems too specific for bibliographic entries.
  • Idea/Question: Using "feature-full" packages (e.g. dired) for completion?
    2 projects | /r/emacs | 8 Sep 2022
    I can't find anything that seems to discuss them in detail, but Marginalia is a package that applies them widely in completion. And here is a simple example for customized file completion.

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 2023-05-29.
  • Flexible, simple tools for minibuffer completion in Emacs
    1 project | news.ycombinator.com | 2 Jan 2024
  • org attach multiple files with ivy-call
    1 project | /r/emacs | 18 Jun 2023
  • An Improved Emacs Search
    3 projects | /r/emacs | 29 May 2023
    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?
    5 projects | /r/emacs | 24 Apr 2023
    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?
    4 projects | /r/emacs | 9 Apr 2023
    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
    7 projects | /r/emacs | 10 Mar 2023
    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
    9 projects | /r/emacs | 19 Dec 2022
    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)
    4 projects | /r/emacs | 14 Oct 2022
    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?
    1 project | /r/OrgRoam | 12 Oct 2022
    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?
  • note-taking without org roam.
    3 projects | /r/emacs | 17 Sep 2022
    Then hit C-' (that's apostrophe, left of enter on US keyboards). Preferably with something like [ivy][https://github.com/abo-abo/swiper] set up so you can see what it's trying to autocomplete for you- it should be suggesting all of your org 'notebooks' in the targeted folder, as well as any buffers you have open.

What are some alternatives?

When comparing marginalia and swiper you can also consider the following projects:

embark - Emacs Mini-Buffer Actions Rooted in Keymaps

vertico - :dizzy: vertico.el - VERTical Interactive COmpletion

org-remark - Highlight & annotate text, EWW, Info, and EPUB

fzf.vim - fzf :heart: vim

corfu - :desert_island: corfu.el - COmpletion in Region FUnction

helm - Emacs incremental completion and selection narrowing framework

eglot - A client for Language Server Protocol servers

consult - :mag: consult.el - Consulting completing-read

emacs-libvterm - Emacs libvterm integration

Vim - The official Vim repository

doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]