affe
:monkey: affe.el - Asynchronous Fuzzy Finder for Emacs (by minad)
emacs-config
My personal Emacs configuration (by oantolin)
affe | emacs-config | |
---|---|---|
10 | 20 | |
208 | 81 | |
- | - | |
5.4 | 9.2 | |
3 months ago | 9 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | 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.
affe
Posts with mentions or reviews of affe.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-10.
-
Fuzzy Finding with Emacs Instead of Fzf
and another one, from the author of consult/vertico/..., minad, is affe: https://github.com/minad/affe
-
Fuzzy Finding with Emacs Instead of fzf
Why does it not mention affe from u/minad-emacs? https://github.com/minad/affe
-
Emacs Advent Calendar 7: ordeless, embark 1.0 and some bric-a-brac
If you don't mind, I have a bit of an unrelated question for you: What are your thoughts on Emac's existing multithreading support? For a few weeks now, I'm trying to do something practical with them, and found that they at least enable one thing: accept-process-output can be done without blocking the main thread (I have an small example and I'm preparing a blog post). I'm asking because I stumbled upon this project of yours: https://github.com/minad/affe and thought that it would be easier to implement with threads (with all their limitations). It would require careful coding so that the heavier computations don't block or starve the main thread, but I think it's possible, and would result in smaller and more performant code.
- affe: Asynchronous Fuzzy Finder for Emacs
-
Fuzzy file finding in non-project dir
I found [affe.el](https://github.com/minad/affe), but I don't want to add this package if doom supports this kind of feature.
-
M-x find-dired-name
The closest thing you're looking for is affe it just uses completing-read in an async manner. The filtering is also done async so there is no lag. It supports emacs' completion styles, e.g. you can couple it with orderless.
-
affe.el - Asynchronous Fuzzy Finder for Emacs
Affe provides an asynchronous fuzzy finder similar to the fzf command-line fuzzy finder, written in pure Elisp. A producer process is started in the background, e.g., find, fd or ripgrep. The output produced by this process is filtered by an external asynchronous Emacs process. The Emacs UI always stays responsive since the work is completely off-loaded to other processes. The results are presented in the minibuffer using Consult, which allows to quickly select from the available items.
-
What is everybody using for file switching/selection?
You may want to try my Affe, the Asynchronous Fuzzy Finder for Emacs, which works similarly to fzf and is fast, since the file list is generated only once and the filtering is performed in an external process on all files. However there is also no support for flex sorting, only filtering as offered by orderless.
emacs-config
Posts with mentions or reviews of emacs-config.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-07.
-
Emacs Advent Calendar 7: ordeless, embark 1.0 and some bric-a-brac
block-undo. Have keyboard macros undo in a single step (something vi gets right!).
- embark-kmacro.el: Embark support for Hyperbole key series
-
Stripped-down Embark?
Installing that Embark key series implementation I mentioned above, to get extra actions for key series such binding them to a key or turning them into named keyboard macros.
-
How do guys 'namespace' calls to functions in the same 'namespace'?
Generally I recommend to maintain all personal code in the form of tiny but proper Elisp libraries. The config just glues everything together using use-package/setup/your-self-baked-macro. See also /u/oantolin's config which uses this style: https://github.com/oantolin/emacs-config. I cannot recommend this enough!
-
How many lines are in your .emacs file?
I have 3720 lines in my configuration. I try to write as much of it as tiny packages that I configure with use-package, just like I do for external packages. (I highly recommend this form of organization) Many of these are only useful to me, but some would be very reasonable to steal, like:
-
[ANN] unpackaged/imenu-eww-headings: Offer HTML headings in EWW buffers with Imenu
I have a slightly different take on this in my configuration, file shr-heading.el. In addition to imenu support I wanted next and previous heading navigation commands. It turns out you then get imenu support for free, since one way you can specify imenu entries is by providing a "goto previous imenu entry" function.
- Whose user init have you found helpful?
-
Dragging the region
I wrote a small drag-region package once. You mark a region, turn on drag-region-mode and then your normal motion commands will drag the region along until you turn the minor mode off again. I never tested it with evil.
-
ecomplete: the Emacs contact manager you were looking for
I'm very happy with ecomplete now, I mostly just need the completion and automatic storing of addresses I write to, as configured in your post. But occasionally I want to remove an address or manually add one, so I wrote a couple of commands to do that which I bind in embark-email-map to + (for adding) and \ (for removing). I don't think I've used these commands directly, always as Embark actions. When I want to add an email to ecomplete I usually have it written in some buffer already. And the command to remove an email I've only ever used from the ecomplete completion interface or from a message buffer after mistakenly having inserted it and realized that's an old address I'll never use again.
-
Need help integrating a package into consult
I keep some packages in a subdirectory my personal configuration and don't create a separate repo for them. (Also, not every file there is really a package that could be released: some don't follow proper naming conventions, or depend on details of my configuration).
What are some alternatives?
When comparing affe and emacs-config you can also consider the following projects:
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
embark - Emacs Mini-Buffer Actions Rooted in Keymaps
fzf - :cherry_blossom: A command-line fuzzy finder
lispy - Short and sweet LISP editing
consult - :mag: consult.el - Consulting completing-read
consult-better-jumper - Integrate better-jumper into consult
exa - A modern replacement for ‘ls’.
prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth
modalka - Modal editing your way
link-hint.el - Pentadactyl-like Link Hinting in Emacs with Avy
advent-of-code-2021 - My solutions for the "Advent of Code 2021"