Skip to content

Give occur mode the same bindings as wgrep. #17051

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mijoharas
Copy link
Contributor

I use wgrep fairly often, and always forget the keybindings now that I sometimes do multi replace in occur buffers. Give the same keybindings.

@sunlin7
Copy link
Contributor

sunlin7 commented Jun 26, 2025

On vanilla emacs occur-edit-mode is bound to e (for "edit"), which is easy to understand than w (which implies "write"?)

@mijoharas
Copy link
Contributor Author

True, I'd be fine with making wgrep do the same, and then me relearning muscle memory, but having both be different makes me always forget it (and my wgrep muscle memory is stronger.)

Essentially I just want consistency. Also, extra bindings that are mode specific are nice and discoverable.

(in vim mode in spacemacs i does the occur-edit-mode, but doesn't for wgrep)

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.

2 participants