-
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
Customize mode not evil #6699
Comments
|
Indeed, it's the text input that has prevented us from doing this before. |
@bmag @TheBB Can you guys clarify the text entry issue? I clearly don't have the understanding you guys have, but what I can observe is that if I hit C-z, I don't have any problem writing in text input boxes. Vim's insert mode does the same thing as emacs. Can you give a quick example of something problematic? |
If you enter evilified state, there's no binding to go to insert state. If you use normal state, sure you can do it. You lose all the customize bindings though, so you want to put them back. ( |
I see, I was not distinguishing evilified and normal. I guess there are two solutions, I think either of these are better than the status quo, so we should pick one and then execute it:
Personally I think we should do 2. People who are using emacs are not affected by this anyway, so the goal is to give a better experience to vim users. As a vim user, the bottom line is that while customize is a bit weird, its ultimately a buffer where both motion and editing are possible, so I'd rather have normal mode. Some of the default bindings are also a bit unpleasant, notably customize takes over SPC and binds it to scroll up. It's much preferable (IMHO) to just keep using C-u for that, and be able to use SPC to switch windows. We really only need a few of the bindings anyway, like next widget and previous, many of the others have equivalents in normal mode or aren't that useful. We can even bind something useful like next widget to both C-n and |
@TheBB You wrote "ready for work", just to clarify: which of 1 or 2 (that I listed above) would you/syl/other maintainers expect? Either if executed well? |
Whatever works. |
Great idea 👍 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
This has been requested many times but never implemented. Fixes syl20bnr#6699 Fixes syl20bnr#5668 Fixes syl20bnr#7583 Fixes syl20bnr#13309
This has been requested many times but never implemented. Fixes syl20bnr#6699 Fixes syl20bnr#5668 Fixes syl20bnr#7583 Fixes syl20bnr#13309
I think this is still a valid issue. |
@real-or-random I have just merged a commit to evilify Custom-mode, isn't this what this issue was requesting in the first place? |
Oh I see. The story behind this is that I was running into the issue described in #13970. At that time I was assuming customize mode does not work at all: I didn't really try with the keyboard. I only tried So
|
This has been requested many times but never implemented. Fixes syl20bnr#6699 Fixes syl20bnr#5668 Fixes syl20bnr#7583 Fixes syl20bnr#13309
This has been requested many times but never implemented. Fixes syl20bnr#6699 Fixes syl20bnr#5668 Fixes syl20bnr#7583 Fixes syl20bnr#13309
This has been requested many times but never implemented. Fixes syl20bnr#6699 Fixes syl20bnr#5668 Fixes syl20bnr#7583 Fixes syl20bnr#13309
This has been requested many times but never implemented. Fixes syl20bnr#6699 Fixes syl20bnr#5668 Fixes syl20bnr#7583 Fixes syl20bnr#13309
This has been requested many times but never implemented. Fixes syl20bnr#6699 Fixes syl20bnr#5668 Fixes syl20bnr#7583 Fixes syl20bnr#13309
Not too much more to say. I don't think it's a bug per se because I doubt this functionality was added in the first place. But customize should ideally start in vim/evil mode, not in emacs mode (if you have vim keybindings selected). If someone can point me to some code that reflects the canonical way of doing this for another mode (adding to the major mode hook?), I can prepare the PR myself.
The text was updated successfully, but these errors were encountered: