emacs-which-key
hydra
Our great sponsors
emacs-which-key | hydra | |
---|---|---|
37 | 33 | |
1,690 | 1,805 | |
- | - | |
7.8 | 0.0 | |
11 days ago | about 1 year ago | |
Emacs Lisp | Emacs Lisp | |
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?
hydra
-
Modeless Vim
You can also use Hydra for Emacs.[1] Once I discovered how to configure Hydra, I made it a habit to make one for every new major mode I need to use.
[1] https://github.com/abo-abo/hydra
- Devil Mode for Emacs
-
Alternative terminal compatible keybinding for C-S-<arrow up>
Have you considered a hydra?
-
Can you explain the power of emacs please?
An Emacs specific example: I'm working on a few go projects at the moment and go requires recompilation after changes. Step one was finding auto-recompilers for my projects (I'm using both air and reflex in various projects). Step two was realizing that I spent a lot of time switching to the buffer where the output is printed, so I wrote a little hydra menu to make that easier. Then I found myself having to restart those processes each time I restarted Emacs, so I went digging and found detached to manage the processes. Then I got tired of having to hunt for where the detached output was displayed in my frame so dug into sidebars to manage the windows more effectively.
-
Is it possible to make god-mode turn off automatically after a command?
I think the goal of the hydra package is to provide such functionality.
-
Non-evil users: what modifiers do you use on emacs?
I would I also encourage anyone who does not want to use modal editing to look into repeat-mode, hydras, and key-chord.
-
Newbie question: What is a good strategy for personal keybindings to avoid conflicts, including with packages installed later on?
The C-c prefix is designed for you, the user, to use for your nefarious deeds. Some things that may help with both binding and knowing what key does what would be a menu such as hydras or transient menus (which apparently are part of Emacs now so that's new).
-
Too many keybindings
For the very same reason, I started to use hydras: https://github.com/abo-abo/hydra - see my config at https://github.com/novoid/dot-emacs/blob/master/config.org
-
How usable is Emacs with its default keybindings?
Hydra lets you define mini-modes with limited scope.
-
A good config with leader keys
general.el also works well with hydra.el. Here's my hydra for window operations - it activates when I press ,w:
What are some alternatives?
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.
vim-submode - Vim plugin: Create your own submodes
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
vim-hydra - Plugin similar to abo-abo's emacs hydra plugin
use-package - A use-package declaration for simplifying your .emacs
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
general.el - More convenient key definitions in emacs
projectile - Project Interaction Library for Emacs
evil-collection - A set of keybindings for evil-mode
multiple-cursors.el - Multiple cursors for emacs.
helpful - A better Emacs *help* buffer
key-chord - Map pairs of simultaneously pressed keys to commands