In Vim, when I\'m doing an incremental search for \"x\" by entering /x I then press n to jump to the next occurrence. If I have just matched the l
/x
n
Turn off the 'wrapscan' option.
'wrapscan'
set nowrapscan