folke / noice.nvim

💥 Highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mikaraunio opened this issue · comments

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