selectrum
🔔 Better solution for incremental narrowing in Emacs. (by radian-software)
swiper
Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man! (by abo-abo)
Our great sponsors
selectrum | swiper | |
---|---|---|
33 | 36 | |
736 | 2,247 | |
0.0% | - | |
0.0 | 6.6 | |
over 1 year ago | 15 days ago | |
Emacs Lisp | Emacs Lisp | |
MIT License | - |
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.
selectrum
Posts with mentions or reviews of selectrum.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-09.
-
Common "ivy-read"
Selectrum's wiki has some basic info on completing-read: https://github.com/radian-software/selectrum/wiki/Tips-for-Creating-Commands
-
What packages do the cool kids use these days?
[1] https://github.com/radian-software/selectrum/issues/114
-
Selectrum now deprecated in favor of Vertico
I noticed over the weekend that the venerable Selectrum package made by Radon Rosborough has been deprecated in favor of Daniel Mendler's Vertico package.
- How to make TRAMP faster?
-
Sidekick is a Emacs package that provides information about a symbol inside a single window.
https://github.com/radian-software/selectrum is getting superceded by https://github.com/minad/vertico within just a year or two.
-
Straight.el: next-gen, purely functional package manager for the Emacs hacker
I have been using straight for a while now and I think it is great! The ability to lazy load everything by default does a lot to make Emacs snappier (or at the very least, faster to boot). Being able to pull packages directly from git (be it local or a forge) makes package development a lot easier. raxod has a lot of really sleek, modern emacs packages that I would encourage everyone to check out, spectrum[0] and ctrf[1] in particular are really great as well.
[0] https://github.com/radian-software/selectrum
-
Use Portage instead of package.el for managing Emacs packages
selectrum
-
Question: Error in post-command-hook
;;https://github.com/raxod502/selectrum (defun force-debug (func &rest args) (condition-case e (apply func args) ((debug error) (signal (car e) (cdr e))))) (advice-add #'selectrum--minibuffer-post-command-hook :around #'force-debug) (selectrum-mode +1) ;; to make sorting and filtering more intelligent (selectrum-prescient-mode +1) ;; to save your command history on disk, so the sorting gets more ;; intelligent over time (prescient-persist-mode +1) (setq completion-styles '(orderless)) ;; Persist history over Emacs restarts (savehist-mode) ;; Optional performance optimization ;; by highlighting only the visible candidates. (setq orderless-skip-highlighting (lambda () selectrum-is-active)) (setq selectrum-highlight-candidates-function #'orderless-highlight-matches) (setq selectrum-prescient-enable-filtering nil) (selectrum-prescient-mode +1) (prescient-persist-mode +1) (use-package marginalia :ensure t :config (marginalia-mode)) (use-package embark :ensure t :bind (("C-." . embark-act) ;; pick some comfortable binding ("C-;" . embark-dwim) ;; good alternative: M-. ("C-h B" . embark-bindings)) ;; alternative for \describe-bindings' :init ;; Optionally replace the key help with a completing-read interface (setq prefix-help-command #'embark-prefix-help-command) :config ;; Hide the mode line of the Embark live/completions buffers (add-to-list 'display-buffer-alist '("\`\Embark Collect \(Live\|Completions\)\" nil (window-parameters (mode-line-format . none))))) ;; Consult users will also want the embark-consult package. (use-package embark-consult :ensure t :after (embark consult) :demand t ; only necessary if you have the hook below ;; if you want to have consult previews as you move around an ;; auto-updating embark collect buffer :hook (embark-collect-mode . consult-preview-at-point-mode))`
- Keybinding autocompletion / helper. Like in doom emacs.
-
Requests for packages to add to NonGNU ELPA?
Selectrum and Prescient would be nice.
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
- 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?
-
note-taking without org roam.
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 selectrum and swiper you can also consider the following projects:
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
helm - Emacs incremental completion and selection narrowing framework
fzf.vim - fzf :heart: vim
consult - :mag: consult.el - Consulting completing-read
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
icomplete-vertical - Global Emacs minor mode to display icomplete candidates vertically
Vim - The official Vim repository
ivy-rich - More friendly interface for ivy.