ryo-modal
general.el
ryo-modal | general.el | |
---|---|---|
14 | 36 | |
217 | 965 | |
- | - | |
0.0 | 4.6 | |
4 months ago | 22 days ago | |
Emacs Lisp | Emacs Lisp | |
MIT License | 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.
ryo-modal
-
Ask HN: Best way to experiment with text text editing?
To build on what others are saying about Emacs, if you start exploring the package ecosystem, you're going to see quite a lot of really interesting packages that are related to improving/experimenting with the UX of editing text. While I'm not endorsing anyone in particular, I think what this list does show is just how easy it is to do pretty much whatever you want in Emacs;
https://karthinks.com/software/avy-can-do-anything/
https://github.com/jyp/boon
https://github.com/clemera/objed
https://github.com/jmorag/kakoune.el
https://github.com/meow-edit/meow/
https://github.com/xahlee/xah-fly-keys
https://github.com/Kungsgeten/ryo-modal
https://github.com/emacsorphanage/god-mode
Emacs 29 also now has treesitter and LSP mode integration built-in, a compilation mode, a comint mode for REPLs, excellent file browsing packages (I use dired/dirvish), and a few other killer features.
Now, if what you truly dislike are "quirky editors", prepare yourself for a world of hurt because vanilla Emacs departs quite a bit from "modern" text editors. I struggled with this for a while, but eventually by buying into the paradigm, I now feel that when emacs try emulating "modern" IDE features like autocompletion, LSP, and DAP UI, I feel like it's a regression, not a progression. The point here is that you might have an "idea" of what good initial UX and lack of quirks would look like, but Emacs might change the way you think.
-
Evil keybinding for emacs from scratch
If it's the latter and you're looking for a way to set up vim/evil like keybindings yourself (separate links for each), Modalka, RYO-modal, and Meow (and probably a few dozen others 'cause emacs) allow you to do that.
-
Nested/conditional keybindings to navigate in text
You can write custom commands that wrap a little bit of logic around the standard movement commands. Or another option would be to look at ryo-modal or meow.
-
How to get doom emacs keybindings?
Along with General, you can take a look at some other packages for keybindings and modal editing. A good option is RollYourOwn Modal mode. In the documentation there, it also lists several other packages with pre-defined bindings. Xah-Fly-Keys is specifically designed for ergonomics and may be interesting to explore.
-
Why not use Evil in 2022?
Because you can roll your own modal mode. This particular approach will make the experience convenient in the way you actually prefer (Emacs' extensibility at its finest) and it'll allow you to slowly move towards the modal editing if it happens to be convenient for you.
- Lapce
-
"I'll just install EVIL"
Similar to Meow is ryo-modal. What I like about ryo-modal is that it is completely unopinionated and does nothing by default, and instead just provides the tools to make your own modal editing system.
-
Layer keys
I was thinking that combining this functionality with something like ryo-modal could make for a very satisfying and efficient modal keybind system. However, it doesn't seem like there's any ready made way to do this in Emacs.
- Think which-key update breaks ryo-modal
-
How to make ryo-modal not insert the non-mapped keys?
ryo-modal is a package for creating modal keymaps. I want to test it, but I need a little help.
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?
meow - Yet another modal editing on Emacs / 猫态编辑
use-package - A use-package declaration for simplifying your .emacs
modalka - Modal editing your way
emacs-which-key - Emacs package that displays available keybindings in popup
xah-fly-keys - the most efficient keybinding for emacs
evil-collection - A set of keybindings for evil-mode
kakoune.el - A very simple simulation of the kakoune editor inside of emacs.
key-chord-multiple - A GNU Emacs minor mode that allows binding commands to multiple simultaneously pressed keys.
emacs.d - Personal Emacs configurations
.emacs.d - Centaur Emacs - A Fancy and Fast Emacs Configuration
emacs-baboon - My new Emacs config with use-package
evil - The extensible vi layer for Emacs.