corfu
:desert_island: corfu.el - COmpletion in Region FUnction (by minad)
cape
🦸cape.el - Completion At Point Extensions (by minad)
corfu | cape | |
---|---|---|
44 | 17 | |
1,023 | 543 | |
- | - | |
8.9 | 8.8 | |
21 days ago | 22 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.
corfu
Posts with mentions or reviews of corfu.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-17.
- Does eglot support autocomplete candidates with the same name?
-
anybody here do completion-on-demand, instead of automagically (dwim) ?
You could try corfu. It has auto-completion disabled by default and works most places with M-Tab. Or you could set a longish corfu-auto-delay (0.75s say), and let auto popup only when you stop to ponder a while.
- is it just me, or LSP mode is very slow in emacs?
-
Code completion candidates displayed in minibuffer
Corfu supports this. Or at least it allows you to move completions to the mini buffer which I find quiet useful.
-
Returning emacs user - what packages are common now?
A substantial section of the community is using corfu instead of company, but I wouldn't say company is out of date by any means. In emacs 29 eglot will be a built in, which might act as a replacement for lsp-mode depending on what functionality you need.
-
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.
-
How do I take priority from Evil's escape key?
I am currently using evil and corfu, but I want to configure such that pressing a single escape will invoke corfu-quit when its UI is active (because pressing "C-g" is harder).
-
Emacs lags when making the auto completion pop-up with corfu
A few days ago I found an unexplained slowness when using Corfu on Emacs 29 with pgtk. I stripped my configuration to basically just Corfu, and still had a noticeable delay. Maybe it is related to your problem. https://github.com/minad/corfu/issues/307
-
Replacing strings with Unicode symbols.
The most straight forward solution is probably the package company-math. (that's what I use but with corfu and cape)
-
How to select candidate with argument number only in corfu-indexed mode?
See here: https://github.com/minad/corfu/issues/231
cape
Posts with mentions or reviews of cape.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-23.
-
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.
-
Is there a package or something for code completion in org mode files for src blocks?
At least for Elisp source block one can use font locking to create a custom Capf. Add cape-elisp-block from my Cape package to completion-at-point-functions. Even if you don't want to use Cape you could just copy it to your config. It is a short function.
-
Corfu + Consult History?
You can use cape-history from my Cape package. This is similar to consult-history only utilizing completion-in-region instead of completing-read.
-
How to configure corfu for arbitrary orderless matching?
Haven't tried configuring it accordingly, but here's the docs: https://github.com/minad/cape
-
Emacs lags when making the auto completion pop-up with corfu
corfu is blazingly fast. Orderless is as well. What is not always blazingly fast is your completion providing backend. You didn't mention where your slow completions are coming from. An LSP server? Dabbrev? Maybe a remote machine? Have you combined results from various backends (e.g. using cape?). Some completions backends are unavoidably slow, others are just not well optimized.
-
Replacing strings with Unicode symbols.
The most straight forward solution is probably the package company-math. (that's what I use but with corfu and cape)
-
Emacs bankruptcy
Some time I'll add a mixin for Cape which would make the completion stuff really nice.
-
Simplest way to add strings to be used for autocompletion?
If you're set on using the completion system (M-TAB) for this, you could install Cape and use the cape-abbrev command to complete your abbrevs.
-
Like company-org-block, but for completion-at-point, corfu, and friends…
Oh, of course your efforts are valuable. I didn't mean to sound discouraging in any way. The point made by /u/xenodium is good - if you have a special candidate source with special behavior, it makes sense to provide a separate lightweight Capf. In contrast, using Tempel for this purpose doesn't make much use of the actual template functionality. Tempel is only a good fit for Org blocks if you use it already anyway, as I do. There is also value in having reference Capfs around, which will be helpful when developers create their own new completion functions. This was also the intention when I created my Cape package, which comes with many simple Capfs. It is always interesting to see what other Emacs users come up with. I am thankful for such efforts - it is inspiring!
- Sane company completion setup?
What are some alternatives?
When comparing corfu and cape you can also consider the following projects:
company-mode - Modular in-buffer completion framework for Emacs
consult-yasnippet
emacs-jedi - Python auto-completion for Emacs
lsp-mode - Emacs client/library for the Language Server Protocol
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
emacs-bedrock - [Mirror] Stepping stones to a better Emacs experience
company-box - A company front-end with icons
tempel - :classical_building: TempEl - Simple templates for Emacs
company-quickhelp - Documentation popup for Company
lean4-mode - Emacs major mode for Lean 4
posframe - Pop a posframe (just a child-frame) at point, posframe is a **GNU ELPA** package!
copilot.el - An unofficial Copilot plugin for Emacs.