-
Notifications
You must be signed in to change notification settings - Fork 23
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
dealing with evil-mode #50
Comments
Sure. I don't know evil very well so when someone sent a patch that supports evil I accepted it ;-) What is your suggested change? Could you describe it concretely or send a PR? |
Note that I use evil-mode with vundo and don't experience any cursor issues, I'm not sure why. |
I would suggest, to either introduce a costumizable variable for enabling/disabling the evil-emacs-state change, |
@ideasman42 which emacs version do you use? could you try it by starting emacs from the evil directory with |
On the one hand, I personally think it's wrong design in principle for a couple of reasons to do this. I think it's also a good clue that undo-tree doesn't do this, and it has had over a decade of coexistence with Evil and a much larger user-base against which to discover which choice is wiser. But on the other hand,
|
I saw this package adds itselft to
evil-emacs-state-modes
.I understand that is for preventing problems with the bindings.
while evil-mode adds vim like functionality to emacs, it doesn't deal with most third party packages.
For that reason
evil-collection
was created to add that vim like funcionality.I guess most people that use evil-mode either use evil-collection or are used to deal with those problems themselves.
There are different strategies to better integrate packages to the evil workflow.
Some users might set emacs-state for special modes, some might use evil's motion-state,
others might just locally override evil-normal-state bindings.
Vundo enables evil-emacs-state by default, this might interfere with strategies that evil-mode users already developed.
evil-collection-vundo.el is part of evil-collection. that file for example sets evil-state back to normal-state and rebinds the keys to use "hjkl" for motions in vundo-mode.
I assume most evil users would like to have those bindings, if they are not using evil-collection they are likely going to try to remap the keys and have to first realize, that vundo sets the state to emacs-state (it took me a while to find that issue).
For that reason, i recommend not setting any evil specific things to try to make some bindings work in evil-mode.
Those bindings are not evilish anyways.
Or at least make the state change optional and mention it inside the readme file.
What do you think?
Thanks
The text was updated successfully, but these errors were encountered: