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

`evil-repeat' got broken after searching #90

Closed
danielwuz opened this issue Nov 8, 2014 · 3 comments
Closed

`evil-repeat' got broken after searching #90

danielwuz opened this issue Nov 8, 2014 · 3 comments
Labels

Comments

@danielwuz
Copy link
Contributor

Say I'm editing below text: ( | indicates cursor position)

|hello world
hello world
hello world

then search for "hello" by /hello. Then make change to some other text by c i w.

hello world
othertext world
hello world

Then press n for next, should jump to last one, then hit .

Ideally, last "hello" should be updated to "othertext", but spacemacs executes search next instead.

Is it something we customized in spacemacs? I tested with pure evil, it works as in Vim.

Thanks,

@syl20bnr
Copy link
Owner

syl20bnr commented Nov 8, 2014

Yes spacemacs wraps n and N to support anzu.
https://github.com/syl20bnr/spacemacs/blob/master/spacemacs/packages.el#L647

Not sure why it overrides repeat though. Maybe an advice would work.

@syl20bnr
Copy link
Owner

syl20bnr commented Nov 8, 2014

Disable anzu in your ~/.spacemacs and see if it works as expected.

EDIT: mmmhhh disabling anzu may corrupt the mode-line for now, I'll make a fix.

@syl20bnr
Copy link
Owner

syl20bnr commented Nov 8, 2014

Thank you @danielwuz !

@syl20bnr syl20bnr closed this as completed Nov 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants