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

bug: search jumps back to original line on each character input #741

Closed
3 tasks done
mikaraunio opened this issue Mar 3, 2024 · 3 comments
Closed
3 tasks done

bug: search jumps back to original line on each character input #741

mikaraunio opened this issue Mar 3, 2024 · 3 comments
Labels
bug Something isn't working stale

Comments

@mikaraunio
Copy link

Did you check docs and existing issues?

  • I have read all the noice.nvim docs
  • I have searched the existing issues of noice.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.10.0-dev-2503+gda2130934-Homebrew

Operating system/version

macOS 14.3.1 (23D60)

Describe the bug

When searching, each time a character is entered the cursor shortly jumps back to the line it was on when the search was started. This causes the whole split to be redrawn if the original line is off-screen compared to the current match.

It almost feels like the search term was being emptied between keypresses.

Steps To Reproduce

  1. Start searching with / or ?
  2. Start entering a search term
  3. The file will jump between the starting line and the line containing the match each time a character is entered

Expected Behavior

I expected the search to behave like it does without noice.nvim, with no jumping around.

Repro

No response

@mikaraunio mikaraunio added the bug Something isn't working label Mar 3, 2024
Copy link
Contributor

github-actions bot commented Jul 6, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Jul 6, 2024
@mikaraunio
Copy link
Author

Not stale.

@folke
Copy link
Owner

folke commented Jul 6, 2024

This is fixed for a recent Neovim nightly

@folke folke closed this as completed Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants