-
Notifications
You must be signed in to change notification settings - Fork 272
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
diff-mode: disable single-letter cmds w/o respect to selection in "visual" #815
base: master
Are you sure you want to change the base?
Conversation
@jojojames What's your thoughts? |
Wouldn't you want to move the key somewhere else than to remove it entirely? |
Sorry, I didn't know what modes |
It's just that I don't know, the |
motion -> normal is fine. |
…sual" These commands do not respect selection done by `visual` mode, and instead only work at (point). So running them in `visual` mode is confusing. In `insert` mode they don't run anyway. So let's move them to `normal` mode. Fixes: emacs-evil#810
decf14a
to
0cd8893
Compare
@jojojames done, please see if it looks okay now |
Actually, wait, I see another command that may be confusing when used in "visual" |
@jojojames okay, so, I'm afraid your idea with moving stuff under the "normal" is not working due to a bug somewhere. When I'm testing the current changes, while pressing d in "visual" I still see the hunk getting deleted even though it is no longer under "motion". |
As mentioned in the original issue, the keybinding is confusing and problematic. There has been no opposing comments for 1.5 months, so let's go ahead and
removemake it to only work innormal
.Fixes: #810