In Vim, how do you search for a word boundary character, like the \b in regexp? Ask Question

In Vim, how do you search for a word boundary character, like the \b in regexp? Ask Question

I'd like to be able to search

/the\b

to find "the" but not "then".

I also tried searching with very magic turned on:

/\vthe\b

ベストアンサー1

おすすめ記事