-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments on Embark Key Bindings #168
Comments
|
I think you are right about moving
Any thoughts? |
Assuming |
FWIW I submitted emacs bug #50311 to have |
That went well, they'll be autoloaded in emacs 28. |
Let's celebrate by binding them in embark-region-map (I guess I need to add the autoloads for now, but will be able to remove them in a few years when I drop support for 27.1.) Hey, now that you have an in with the maintainers, maybe you could propose that calc-grab-region call calc-grab-rectangle if the region is rectangular. |
Mmh, Should Embark have a separate embark-rectangular-region-map? A few extra actions only make sense for rectangles, right? |
Well, the rectangle commands very reasonably act on the rectangle between mark and point whether or not you are using rectangle-mode. So actually, they could just be added to the region map. |
Yeah, I don't understand what you mean, aren't all regions rectangular? It's just how you interpret what mark and point delimit. I don't seem to have a |
Sorry, I got the name of the mode wrong. It is called |
So, yes all regions can be considered as rectangular, but when the user explicitly turns on |
Ah. I have heard of FWIW, I've now bound the following which may interest you (the 2nd conflicts with a binding of undo which seems odd to me):
|
I know that undo binding very well! I prefer For some reason it had never occurred to me to bind things in I forgot to say earlier that for |
Hmmm, I'm on a mac with apple's command key set as a super key, so I mostly use I thought about not using the So instead of |
But |
Ahh, yeah that is kinda nice. We'll see if I can remember that. |
So would it just be this:
|
Yes, that's what I had in mind. |
It's now Emacs Bug #50403 |
Fixed, will be in Emacs 28 :) |
Good! Thanks for doing that @hmelman. |
From comments in Consult Issue #210 I took a look at the default embark bindings. Here are some comments, though I don't think any of these are particularly important, they're just things I thought of that might be worth considering.
delete-file
should stay on "d" as other delete commands are on "d" and it's natural.embark-insert
to "I" so maybe it should just be that in the general map. Then the three other maps that bind commands to "I" can bind them to the more natural "i" and "I" can be more consistent.fill-region
to "f". That's fine, but the other obvious choice is "q" since M-q isfill-paragraph
and I think q is less likely to have a future conflict than f.calc-grab-region
. I'd love it ifcalc-grab-sum-down
andcalc-grab-sum-across
were bound to ":" and "_" but they're not autoloaded and little known. They would be more convenient from embark than their existing bindings on C-x * :. But they're probably better in personal configs, maybe it's with a comment in a readme or wiki.embark-browse-package-url
is on "u" but FWIW paradox puts the equivalent on "v" for visit homepageThe text was updated successfully, but these errors were encountered: