user12810571
user12810571

Reputation:

Vim whole word search "pattern not found"

I've been trying to do a whole word search in VS Code's Vim extension. The cursor is at the top of the file, and I try looking for the word "category" with /\<category\>. I've also tried /\v<category> but that doesn't work either. What am I doing wrong?

enter image description here

Upvotes: 0

Views: 698

Answers (2)

declancm
declancm

Reputation: 1

The /\<category\> option does work for me in vscode so it must have been fixed. Hopefully your issue is gone

Upvotes: 0

Katout999
Katout999

Reputation: 61

All you need to do is type /category, I don't think there is a need for '<' or '>'.

Upvotes: 1

Related Questions