cape
emacs-which-key
cape | emacs-which-key | |
---|---|---|
17 | 37 | |
543 | 1,699 | |
- | - | |
8.8 | 8.3 | |
26 days ago | 6 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
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.
cape
-
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?
emacs-which-key
-
Improving Emacs Isearch Usability with Transient
I think which-key already solves exactly that: https://github.com/justbur/emacs-which-key
-
Evil mode's kinda hacky
As for the "complicated keybindings general" -- I assume because remembering things like C-x C-s is hard because of the shifted keystrokes? I get that, and there is in fact a solution for less used keybindings which I love, called 'which-key' https://github.com/justbur/emacs-which-key
-
Should I start with vanilla Emacs?
I would recommend installing the which-key package, which is a fantastic discoverability aid. If you ever want an example config to get some inspiration, I have one here: Emacs Bedrock
-
Best emacs configs for Javascript and/or users who don't like to memorize keybindings?
Make sure you have which-key installed and turned on. When using a keybinding that has a prefix (like C-x or C-c), it displays all the keybindings that start with that prefix.
-
Doom -> vanilla emacs 29
which-key for the shortcut menus
-
Switched to Emacs a week ago, really thrilled so far. Looking for help on a few (somewhat advanced) questions.
there are some packages to help with the keybings, which-key shows a list of keybind and its command and (guru-mode)[https://github.com/bbatsov/guru-mode] enforces to use the "best" keybind, for exemple, it forces you to use C-n to move the cursor, blocking you to use the down key, and if you press the down key, it show a text in minibuffer to the best keybind.
-
Is anyone able to resize which-key side-window?
Thanks for confirming, I think it's an issue in which-key itself: https://github.com/justbur/emacs-which-key/pull/166
-
Too many keybindings
If you haven't already, definitely check out the package which-key.
-
Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made
> even though I'm a terminal user ... I really like the discoverability of GUIs, and that's where a good GUI is unbeatable by CLI.
CLI has poor discoverability? Sure; but even on the terminal, discoverability can still be good:
A couple of nice examples of discoverability in keyboard-focused programs:
- emacs' which-key[0]; there's a vim port[1] too. This shows you (some) of the available keybindings for the next input, and a short label. So you don't have to remember what `SPC h p ...` or all the options under `SPC f...`.. but it still helps to recall that `SPC h` is for 'help' related commands, `SPC f` for file related commands.
- emacs' magit[2][3]. Magit is so good at discoverability, that I'd rate it as the best tool for using git with. I've learned more about git from using it.
[0] https://github.com/justbur/emacs-which-key
[1] https://github.com/liuchengxu/vim-which-key
[2] https://magit.vc/
[3] https://emacsair.me/2017/09/01/magit-walk-through/
-
Creating and displaying cheatsheets of keybindings
Am I right in thinking this is quite similar to which-key?
What are some alternatives?
consult-yasnippet
hydra - make Emacs bindings that stick around
lsp-mode - Emacs client/library for the Language Server Protocol
tokyonight.nvim - 🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
emacs-bedrock - [Mirror] Stepping stones to a better Emacs experience
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
corfu - :desert_island: corfu.el - COmpletion in Region FUnction
use-package - A use-package declaration for simplifying your .emacs
tempel - :classical_building: TempEl - Simple templates for Emacs
general.el - More convenient key definitions in emacs
lean4-mode - Emacs major mode for Lean 4
evil-collection - A set of keybindings for evil-mode