Is it possible to select an HTML tag’s content in Vim?
For example:
<p>I am a silly butterfly</p>
I would like to select “I am a silly butterfly”.
I know that you can use
vi"
to select text inside quotes, brackets, etc. The problem here is that the text inside the HTML tags is not really within anything that I can use thei
function for.
Solution:
You can use vit
to v
isually select text i
n a t
ag. See
:help v_it