-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
New Vim key bindings for Magit #3592
Comments
I just noticed the new reset key, |
I believe it is really useful to be able to switch branches without going through the status buffer and pressing
Could we offer something similar in the standard |
@PierreR just do a PR for it. Seems reasonable to me. I think this issue was more about the decisions made within evil-magit. |
Having (evil-snipe
:variables
evil-snipe-enable-alternate-f-and-t-behaviors t) activated breaks the keybindings for |
For magit-gh-pulls and gitflow: well, |
The single letter keys are mostly taken and are more of a pain to move. There are lots of modifier keys available and the "symbols". I like # for reset because of the analogy to gmail but C-r also works for me. I have no idea what the "natural keys" for gh-pulls and gitflow are. If reset is moved the old ones can stay. |
|
This is the price to pay for a custom evilification but it seems to worth it. |
I like it too. I would not take a Google key binding as a good reference in this context :-D |
I think I like |
for what it's worth reset was on |
|
Ok. I made the change. Doesn't mean I can't change it again. |
If it changes it is for the better :-D |
Does this mean evilification will be gone completely? Window bindings seem to be gone, if I |
@herbertjones Those bindings were not provided by evilification. They just weren't being shadowed and now they are. It will be impossible to avoid all conflicts, so we'll just have to deal with the important cases. If you think "gt" for jump to tracked files is a bad binding, then propose an alternative. Otherwise we can disable that magit binding for the people who use the eyebrowse layer. Same goes for the window select one, but it's worth pointing out that |
No, I'll just override them in my personal config as eyebrowse isn't a default layer. |
We can easily override the M-[number] ones in spacemacs, depending on what On Fri, Oct 30, 2015 at 11:20 AM Herbert Jones notifications@github.com
|
TBH, I'm really divided on these custom evil bindings, for now I want to believe that it worth the work put on them because Magit is such a central piece of the Emacs ecosystem that it could work. But instead of stopping the leaks I would rather make it possible to easily choose between Magit custom evil key bindings and auto-evilified buffer (which will be my choice obviously :-)). I see that the work to adapt the help popup of Magit could be applied to the auto-evilifed buffer as well. |
Commit 150e38e adds support for custom key bindings for Magit instead of the automatically defined evilified key bindings.
You can post your feedback here or in the official PR thread here: emacs-evil/evil-magit#2 (recommended)
The text was updated successfully, but these errors were encountered: