terryma / vim-expand-region

Vim plugin that allows you to visually select increasingly larger regions of text using the same key combination.
MIT License
1.11k stars 46 forks source link

HTML/XML tags #18

Open mvolkmann opened 6 years ago

mvolkmann commented 6 years ago

Thanks for the great plugin! It would be really cool if this worked with HTML/XML tags. For example, if I have <div id="foo"><span class=".bar">some content</span></div> and the cursor is in "some content", it would cool if pressing + selected the content and pressing + again selected <span class=".bar">some content</span> and pressing + again selected <div id="foo"><span class=".bar">some content</span></div>. Have you seen anything that does this?

AdamBD commented 4 years ago

Second this!