emacs-which-key
general.el
Our great sponsors
emacs-which-key | general.el | |
---|---|---|
37 | 36 | |
1,690 | 963 | |
- | - | |
7.8 | 4.4 | |
10 days ago | 16 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.
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?
general.el
-
Emacs Bedrock–A minimal Emacs starter kit
I can vouch for general.el[1]. It's easy to use and it integrates with use-package clauses, which-key and evil states. You can look at my config[2] for examples.
1. https://github.com/noctuid/general.el
-
Evil mode's kinda hacky
If you need more fine-grained keybindings control use https://github.com/noctuid/general.el
-
symbols function definition is void: map!
If you're relying heavily on Evil states and leader keys I also recommend this package: https://github.com/noctuid/general.el
-
bind.el -- A key binder with prefix, autoload, repeat-mode and save&restore support
If I have to say one or two things about them, general's readme looks a lot and may be hard to grasp for starters who just want to bind keys. I want bind to be the go to package for newcomers and unify people who are just bored of typing define-key or okay with looping since bind is close to that simplicity yet being powerful due to its design. If you are missing something, please open an issue and see if we can add it.
-
How do you call interactive commands with arguments like in vim?
For binding keys I highly recommend the package noctuid/general.el. Specifically binding to general-key-dispatch. Something like: (general-define-key :states '(normal visual) "/" (general-key-dispatch "/" 'ag-search :default 'evil-search-forward))
-
Best practice when configuring keybindings?
[1]https://jwiegley.github.io/use-package/keywords/ [2]https://github.com/noctuid/general.el
-
Anyone here uses evil-mode with Colemak-DH? How did you set up yours?
I use standard Colemak. I've added the following configuration to be able to exit insert mode by pressing l and h in sequence (that key combination is convenient to type, but still uncommon enough in most words, the main exception being localhost). (general-imap "l" (general-key-dispatch 'self-insert-command :timeout 0.25 "h" 'evil-normal-state)) The above code uses https://github.com/noctuid/general.el.
-
Help with setting up emacs on windows
https://github.com/noctuid/general.el Keybinding and leader-key manager for Emacs. There are other packages but this is the best one imo - it even includes vim-style map commands.
-
A good config with leader keys
Gonna drop a link to https://github.com/noctuid/general.el
-
any users of the Japanese input method? question about input-method.
(general is a keybinding helper package, not strictly necessary but way simpler than the default)
What are some alternatives?
hydra - make Emacs bindings that stick around
use-package - A use-package declaration for simplifying your .emacs
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.
evil-collection - A set of keybindings for evil-mode
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
key-chord-multiple - A GNU Emacs minor mode that allows binding commands to multiple simultaneously pressed keys.
.emacs.d - Centaur Emacs - A Fancy and Fast Emacs Configuration
evil - The extensible vi layer for Emacs.
helpful - A better Emacs *help* buffer
emacs-for-vimmers - Introduction Emacs config, for developers used to Vim.