As title. The current problem is that my window is scrolled to the first/next(?) global occurrence. But I just want it to move my cursor to the local one, i.e. the current line, if any.
You can use the
\%l atom to restrict the search to the current cursor line, so in your case you probably want
. before the
l is the shortcut to only search in the cursor line. See :h /%l