I would like to select (in Vim) the lines that start with the same pattern. For example, if I have this:
if (...) {
print "Accepted\n"
o.attr_out = "Accepted";
}
else if (...) {
print "Partially accepted\n"
o.attr_out = "Partially Accepted";
}
else if (...) {
print " NOT Accepted\n"
o.attr_out = "Not Accepted";
}
Skip to this in a quick way in Vim.
if (...) {
if (debug == true) print "Accepted\n"
o.attr_out = "Accepted";
}
else if (...) {
if (debug == true) print "Partially accepted\n"
o.attr_out = "Partially Accepted";
}
else if (...) {
if (debug == true) print " NOT Accepted\n"
o.attr_out = "Not Accepted";
}