Skip to content
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

Do not set parent keymap of magit-todos-section-map #173

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

bcc32
Copy link
Contributor

@bcc32 bcc32 commented Mar 4, 2024

This is not necessary to make the regular magit-status keys work in
the TODOs section.

In fact, it causes a bug when used with evil-collection, which uses x
instead of k for delete (so that k can move the cursor up one line).
Setting the parent keymap unnecessarily confuses evil-collection and
causes k to attempt to delete the "thing" at point instead of
scrolling up.

@bcc32
Copy link
Contributor Author

bcc32 commented Mar 21, 2024

Hi, @alphapapa, do you mind merging this? It is causing magit-todos to be broken in Spacemacs otherwise.

alphapapa and others added 3 commits March 21, 2024 02:51
This is not necessary to make the regular magit-status keys work in
the TODOs section.

In fact, it causes a bug when used with evil-collection, which uses x
instead of k for delete (so that k can move the cursor up one line).
Setting the parent keymap unnecessarily confuses evil-collection and
causes k to attempt to delete the "thing" at point instead of
scrolling up.
@alphapapa alphapapa merged commit e5c11c0 into alphapapa:master Mar 21, 2024
@alphapapa
Copy link
Owner

Hi Aaron,

Thanks for the reminder. I didn't realize it was affecting that many users. I rebased your branch on top of 1.7.1 and released it as v1.7.2, and merged it to master as well.

@bcc32 bcc32 deleted the fix-k-in-evil branch March 22, 2024 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants