In vim, you can find a string containing the letter "foo" above the string.
Example file fragment:
class A {
int a;
}
class B {
int a;
}
In this example, I want to be able to search for class B since it followed exactly 5 spaces in the next line, but not my search to find Class Aor comment with 5 spaces.
source
share