-
Notifications
You must be signed in to change notification settings - Fork 61
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
use evil's facilities to correct key translations #36
Comments
I also have an issue trying to |
I'm still looking for a solution to this. Here's a gif showing the issue at hand: This is with the following
Running e.g. The |
this issue may actually be resolved with my (already merged) pull request #81 @favetelinguis @torgeir any chance you can try it out? |
i am using evil-swap-keys and can confirm that things like |
Indeed, works like a charm! All my tests from above seems to be working perfectly. |
awesome. @timcharper this issue can be closed. (btw feel free to make me a collaborator so that i can close and tag issues.) |
Oh, thank you! |
I believe this has resurfaced again? Seems the changes of #81 is no longer in |
@torgeir you are right. :( |
Ah, missed that. |
It was unfortunate that #81 contained a regression that was actually a big deal because it broke the But maybe we can ressurect #81 with the hack contained in #115. This would bring the benefits of #81, but without also bringing in #24 as a regression. |
The regression caused by #81 is actually caused by a bug in evil (see emacs-evil/evil#865 for some context), and #115 is actually just a poor man's #81. #81 should be un-reverted once the root bug in evil is solved. But I haven't had time to look into it more and figure out a solution that doesn't break other things, so I'm not sure when that will be. |
Any updates on this one? |
@torgeir emacs-evil/evil#865 is stalled. |
I haven't made progress on the evil bug. Too busy in school and working on rash. Sorry about that. |
Reopened because we are waiting for emacs-evil/evil#865 to be merged into master in evil. See pull #115 by @willghatch. |
I have the following keybindings in init.el
(define-key key-translation-map (kbd "[") (kbd "("))
(define-key key-translation-map (kbd "]") (kbd "["))
(define-key key-translation-map (kbd "(") (kbd "{"))
However evil/surround will ignore them and use the regular keys, i i would like to wrap a world with () it becomes [] with evil/surround.
Is there a possible fix for this?
Also after watching this https://www.youtube.com/watch?v=5HF4jSyPpvs not much of what he shows work with this plugin, am i doing it wrong for example the dst cat does not work?
The text was updated successfully, but these errors were encountered: