general.el
hydra
general.el | hydra | |
---|---|---|
36 | 33 | |
966 | 1,805 | |
- | - | |
4.6 | 0.0 | |
27 days ago | over 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.
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)
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?
use-package - A use-package declaration for simplifying your .emacs
emacs-which-key - Emacs package that displays available keybindings in popup
vim-submode - Vim plugin: Create your own submodes
evil-collection - A set of keybindings for evil-mode
vim-hydra - Plugin similar to abo-abo's emacs hydra plugin
key-chord-multiple - A GNU Emacs minor mode that allows binding commands to multiple simultaneously pressed keys.
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
.emacs.d - Centaur Emacs - A Fancy and Fast Emacs Configuration
projectile - Project Interaction Library for Emacs
evil - The extensible vi layer for Emacs.
multiple-cursors.el - Multiple cursors for emacs.