-
Notifications
You must be signed in to change notification settings - Fork 0
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
Suggestion: Merge efforts with evil-special-modes #1
Comments
@auwsmit Sounds like a great idea. I like what you've done with evil-special-modes. I just had a couple of points I wanted to make sure we're agreeable on to see We can also use this as just a jumping off point to discussing some of
|
Wow, that's a lot of points of contention! Let's get the discussion started then!
|
I think what might be missing is for people that expect to bind SPC but will then lose the key that was already on SPC. I wonder if it makes sense to bind it to SPC as well as '.
|
(1) (3) In normal mode, (4) I don't have any strong preferences. Ideally this should be part of Evil's organization. (8) Valid point. (10) We cannot reach perfection and it's fine if some modes like Notmuch have bindings that won't satisfy everyone. |
Just adding my 2 cents:
|
(7) If you look at my rationale, you'll see that in Emacs A much more action is filtering. In my rationale I've set it to (8) Startup would have zero impact since everything binding set can be wrapped within If you look at my setup, every mode has a As @auwsmit just suggested, we can have 2 of those global init functions: one for the vanilla modes, one for the 3rd party. This comes at no cost. |
I like the idea by @auwsmit here with a redundant command. What do you think?
Pop back is when you go back from a 'go to definition' command. M-, is the standard
Lets go with a single repo for now. I'm up for hosting it for now. More importantly, I think both of us should have commit access to the repository to keep it simple. I've invited you as a collaborator with commit access.
With this suggestion to use 2 separate commands to enable the vanilla & !vanilla modes, do we still need two separate repos?
Agreed. Last comment on evilify macro. I think, while I want to move away from it. It still has a lot of value. "It's better than nothing." is my consideration towards it. |
@auwsmit Re: C-l, probably fine as you described it. I really only care about the C-h binding. :) |
So, I just ran into an issue with the name "evil-integration", which is that evil-mode already comes with a file called
So, I guess it needs an even more different name (is evil-integration-plus allowed? I'm not creative..) or else his permission would be needed to reuse the same name. |
(1) Redundant command: yes but which one? If it's only for SPC, why not. In most cases, (3) So
In those cases, the (5) While (8) 2 functions: That suggestion was in case we would go for a unique repo. Now that I've slept over it, I have another argument in favor of a unique repo: I think the reason the Evil project has lacked bindings for so many years is because of the fragmented effort. If we keep it together in one grouped effort, I believe it will create a strong dynamic. 1 or 2 init functions? Hmmm... this comes at zero cost, really. So what about 3? One for vanilla modes, one for non-vanilla modes, one that calls the 2 former! That way everybody is happy! (11) Title: indeed, evil-integration is taken already. evil-integration-plus would be confusing. (12) @noctuid made some points on my repo: Ambrevar/evil-special-modes#4 (13) Setup: to get started, we need to lay down some ground work on how we setup the bindings.
So it's very similar to your What do you think? (14) This is a nit, really, but what about the key binding syntax? I see you use vectors and strings of escape control sequences like "\C-c\C-c". I used to do that, but then some sequence cannot be represented easily, like
(15) Evilify macros: Why not using the expansion of those macros? ;) |
Let's proceed as follows if you agree:
|
Other packages I have in my dotfiles:
|
I've created a new repo at https://github.com/jojojames/evil-collection. I'll split up some of the topics that's come up in here as this thread is getting big. The groundwork you've laid out seems good to me, we can go with that. As for those extra packages you have, those sound great to include to. Another minor topic, since it's just 2 people for now, lets try to maintain a single line of history (e.g. rebase instead of merge). :) I'll close this thread and we can transition to the new repo. |
OK, I leave you to prepare the repo to avoid any live-conflict. Let me know when you are done. |
@Ambrevar It's fine to work on it at the same time, I was just thinking we want to rebase any changes if someone has already pushed to remote in order to keep a nice line of history. Any changes you push, I'll just rebase on top before pushing my changes. |
You both seem to have the same idea with similar solutions. It seems like
evil-special-modes
has more work done on the logic/rationale behind how to make bindings, whileevil-integrations
has more modes and bindings actually implemented at the moment.Not sure if you're interested or how to go about doing it, but it's worth considering! 😃
edit: ping @Ambrevar in case he has thoughts
The text was updated successfully, but these errors were encountered: