Skip to content

NeoVintageous - Jumping to Misspelled Words

NeoVintageous has two vim commands for jumping to misspelled words:

CommandDescription
[sJump backward to the previous misspelled word.
]sJump forward to the next misspelled word.

Both of those take a preceding count.

With a count, it means jump that many times: 3]s jump to the third misspelled word.

The 'wrapscan' option applies.

The 'wrapscan' option is enabled by default and means searches wrap around the end of the file.

'wrapscan'

'wrapscan' applies to search commands like:

CommandDescription
/Search.
?Reverse search.
*Search word under cursor.
#In reverse.
[sNext misspelled word.
]sPrevious misspelled word.

You can turn it off:

vim
:set nowrapscan

You can turn it on:

vim
:set wrapscan

Toggle it:

vim
:set wrapscan!

And display the current value in the status bar:

vim
:set wrapscan?

Further reading