Search code examples
linuxubuntuvimvi

How to search </string> in vim?


I want to search in vim,

/</string>

but it didn't work, how to do can exactly match "</string>"?


Solution

  • An alternative to escaping the slash (\/) is to use the backward-search: ?</string> (and navigating to next matches with N instead of n).