I'm trying to delete self closing html tags, like the img tag below.

<div><img src='http://mypic.com/1.jpg' /></div> 

I've tried dit, dat, the tpope/vim-surround plugin, and other things with no luck. I've also tried having my cursor in different places.

1 Answer 1


Are you about da< or da>?

  • Thank's for the quick response. That's perfect. I should have thought of it! Jan 12 at 11:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.