Suppose I have:
<div id="help"> <table> ... ... ... </table> </div>
How do I select the whole block, starting from
<div id="help">, in Vim? Thanks!
Note that, depending on where the cursor is, you may need to type
Supposing the cursor is in a
Another option would be to search backward for
Place your cursor within the opening or the closing tag and type "
I wanted to "comment" but didn't have enough "reputation".
This question is pretty much a duplicate of How can I select an html tag's content in Vim? , so go see that one.